Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regular 5G model to work with MBLv10
Browse files Browse the repository at this point in the history
vtnate committed Nov 28, 2023
1 parent cc23e11 commit 1cde731
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -9,8 +9,6 @@ connect({{ coupling.load.id }}.TChiWatSupSet, THeaWatSet_{{ coupling.id }}.y)
annotation ({{ diagram.line.ts_load.t_chi_wat_set.t_hea_wat_set.y }});
connect(TCooWatSet_{{ coupling.id }}.y, {{ coupling.load.id }}.TColWat)
annotation ({{ diagram.line.t_coo_wat_set.y.ts_load.t_col_wat }});
connect(secMasFloRat_{{ coupling.id }}.y, supHeaWat_{{ sys_params.load_num }}.m_flow_in)
annotation ({{ diagram.line.sec_mas_flo_rat.y.sup_hea_wat.m_flow_in }});
connect(supHeaWat_{{ sys_params.load_num }}.ports[1], {{ coupling.load.id }}.port_aSerAmb)
annotation ({{ diagram.line.sup_hea_wat.ports.ts_load.port_a_amb }});
connect({{ coupling.load.id }}.port_bSerAmb, sinHeaWat.ports[{{ sys_params.load_num }}])
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// heated water stub
// TODO: move these components into a single component
{% for building in range( sys_params.num_buildings ) %}
Buildings.Fluid.Sources.MassFlowSource_T supHeaWat_{{ building + 1 }}(
Buildings.Fluid.Sources.Boundary_pT supHeaWat_{{ building + 1 }}(
redeclare package Medium={{ globals.medium_w }},
use_m_flow_in=true,
use_T_in=false,
{% if 'ghe_parameters' in sys_params.district_system['fifth_generation'] %}
T={{ sys_params.district_system.fifth_generation.ghe_parameters.soil.undisturbed_temp }}+273.15,

0 comments on commit 1cde731

Please sign in to comment.