Skip to content

Commit

Permalink
Set QTra_design to final
Browse files Browse the repository at this point in the history
  • Loading branch information
jelgerjansen committed Nov 22, 2024
1 parent 1953f38 commit c10f6f5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion IDEAS/Buildings/Components/BoundaryWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model BoundaryWall "Opaque wall with optional prescribed heat flow rate or tempe
final nWin=1,
dT_nominal_a=-1,
add_cracks=false,
QTra_design(fixed=false),
final QTra_design(fixed=false),
layMul(disableInitPortB=use_T_in or use_T_fixed, monLay(monLayDyn(each
addRes_b=(sim.lineariseDymola and (use_T_in or use_T_fixed))))));

Expand Down
2 changes: 1 addition & 1 deletion IDEAS/Buildings/Components/InternalWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ model InternalWall "interior opaque wall between two zones"
Qgai(y=(if sim.openSystemConservationOfEnergy or not sim.computeConservationOfEnergy
then 0 else sum(port_emb.Q_flow))),
q50_zone(v50_surf=0),
QTra_design(fixed=false));
final QTra_design(fixed=false));
//using custom q50 since this model is not an external component

parameter Boolean linIntCon_b=sim.linIntCon
Expand Down
12 changes: 5 additions & 7 deletions IDEAS/Buildings/Components/OuterWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ model OuterWall "Opaque building envelope construction"
setArea(A=A),
final nWin=1,
dT_nominal_a=-3,
QTra_design(fixed=false));
final QTra_design(fixed=false));

parameter Boolean linExtCon=sim.linExtCon
"= true, if exterior convective heat transfer should be linearised (uses average wind speed)"
Expand Down Expand Up @@ -143,11 +143,10 @@ equation
points={{-79.4,-2},{-76,-2},{-76,30.6667},{-69.5,30.6667}},
color={0,0,127},
smooth=Smooth.None));
connect(radSolData.HDirTil, shaType.HDirTil) annotation (Line(points={{-79.4,8},
{-76,8},{-76,38.6667},{-69.5,38.6667}},
connect(radSolData.HDirTil, shaType.HDirTil) annotation (Line(points={{-79.4,8},{-76,8},{-76,38.6667},{-69.5,38.6667}},
color={0,0,127}));
connect(radSolData.HSkyDifTil, shaType.HSkyDifTil) annotation (Line(points={{-79.4,6},
{-76,6},{-76,37.3333},{-69.5,37.3333}}, color={0,0,127}));
connect(radSolData.HSkyDifTil, shaType.HSkyDifTil) annotation (Line(points={{-79.4,6},{-76,6},{-76,37.3333},{-69.5,37.3333}},
color={0,0,127}));
connect(radSolData.HGroDifTil, shaType.HGroDifTil) annotation (Line(points={{-79.4,4},
{-74,4},{-74,36},{-69.5,36}}, color={0,0,127}));
if not hasBuildingShade then
Expand All @@ -164,8 +163,7 @@ equation
connect(shaType.HShaDirTil, solAbs.solDir)
annotation (Line(points={{-64.5,38.6667},{-54,38.6667},{-54,8},{-42,8}},
color={0,0,127}));
connect(shaType.HShaSkyDifTil, solDif.u1) annotation (Line(points={{-64.5,
37.3333},{-54.8,37.3333},{-54.8,6.4}},
connect(shaType.HShaSkyDifTil, solDif.u1) annotation (Line(points={{-64.5,37.3333},{-54.8,37.3333},{-54.8,6.4}},
color={0,0,127}));
connect(shaType.HShaGroDifTil, solDif.u2) annotation (Line(points={{-64.5,36},
{-56,36},{-56,1.6},{-54.8,1.6}}, color={0,0,127}));
Expand Down
2 changes: 1 addition & 1 deletion IDEAS/Buildings/Components/SlabOnGround.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model SlabOnGround "opaque floor on ground slab"
final nWin=1,
add_cracks=false,
dT_nominal_a=-3,
QTra_design(fixed=false),
final QTra_design(fixed=false),
inc=IDEAS.Types.Tilt.Floor,
azi=0,
redeclare replaceable Data.Constructions.FloorOnGround constructionType,
Expand Down
6 changes: 3 additions & 3 deletions IDEAS/Buildings/Components/Window.mo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ model Window "Multipane window"
A*(1 - frac),
linearise=linIntCon_a or sim.linearise,
dT_nominal=dT_nominal_a),
QTra_design(fixed=false),
final QTra_design(fixed=false),
Qgai(y=if sim.computeConservationOfEnergy then
(gain.propsBus_a.surfCon.Q_flow +
gain.propsBus_a.surfRad.Q_flow + gain.propsBus_a.iSolDif.Q_flow + gain.propsBus_a.iSolDir.Q_flow) else 0),
Expand Down Expand Up @@ -238,8 +238,8 @@ equation
Line(points={{-57.5,-46.692},{-52.25,-46.692},{-52.25,-46.4},{-46.8,-46.4}},
color = {0, 0, 127}));
connect(solDif.u1, shaType.HShaSkyDifTil) annotation (
Line(points={{-46.8,-41.6},{-50,-41.6},{-50,-42},{-52,-42},{-52,-43.8944},{
-57.5,-43.8944}}, color = {0, 0, 127}));
Line(points={{-46.8,-41.6},{-50,-41.6},{-50,-42},{-52,-42},{-52,-43.8944},{-57.5,-43.8944}},
color = {0, 0, 127}));
connect(gainDif.u, solDif.y) annotation (
Line(points={{-36.4,-48},{-37.6,-48},{-37.6,-44}}, color = {0, 0, 127}));
connect(gainDir.u, shaType.HShaDirTil) annotation (
Expand Down

0 comments on commit c10f6f5

Please sign in to comment.