Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with 5GDHC Simulation Using Dragonfly from GeoJSON to Modelica Example in OpenModelica 1.22.3 #3858

Closed
bvidalEKT opened this issue Jun 6, 2024 · 1 comment

Comments

@bvidalEKT
Copy link

bvidalEKT commented Jun 6, 2024

Issue Description

I am new to OpenModelica and the use of the Modelica Building Libraries, so I apologize if this is not the appropriate place to raise these issues. I am using the MBL: Buildings-v10.0.0

I have created a 5GDHC district model from GeoJSON to Modelica using Dragonfly from Ladybug Tools. I managed to simulate several buildings (the example) and another one by modifying the loads. However, I am facing issues with my project, which includes 8 buildings. I had to adjust the distribution pump pressure and then manually include the peak loads in the terminal units of each building (terUniCoo and terUniHeat) to achieve a successful simulation.

The problem is that after multiple attempts, although I encounter errors like:

The following assertion has been violated at time 31459800.000000 ((noEvent(TimeSerLoa_630ef19b.ets.volMix_a.dynBal.medium.T >= 272.15))) --> "In DistrictEnergySystem.TimeSerLoa_630ef19b.ets.volMix_a.dynBal.medium: Temperature T = 271.51 K exceeded its minimum allowed value of -1 degC (272.15 Kelvin) as required from medium model "Buildings.Media.Water"."

I can get it to simulate 100%, but it has crashed several times at 99%, and I cannot determine the source of the error. I am completely new to OpenModelica, and starting with these fully configured models has been challenging.

Now, it seems to only consider the heating loads and not the cooling loads of the buildings.
Model Configuration

Steps to Reproduce

Create the 5GDHC district model using Dragonfly. ( I attached the modelica model)

des_modelica.zip

Adjust the distribution pump pressure. ( put the "dp_nominal" from the Distribution pump in the DistrictEnergySystem to 600000)
Manually include the peak loads in the terminal units. ( add the #Peak space cooling load  and #Peak space heating load  from the des_modelica\Loads\Resources\Data\B8161616DG7486S\modelica.mos of each building to the terUniCoo and terUniHeat elements in each TimeSeriesBuilding)
Attempt to simulate the complete model.

Expected Behavior

The simulations should consider both the heating and cooling loads of the buildings.
Observed Behavior

Only the heating loads are considered. The cooling loads are not being properly accounted for.
The screenshot shows the Temperature Input and Output of the borehole between January and September
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants