Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 84e6176
Author: terrancelu92 <[email protected]>
Date:   Tue Aug 29 11:40:03 2023 -0700

    Revert the unnecessary cases

commit 80fd944
Author: terrancelu92 <[email protected]>
Date:   Tue Aug 29 11:13:55 2023 -0700

    Remove unnecessary changes

commit 550e56e
Merge: 756895c c3e0192
Author: terrancelu92 <[email protected]>
Date:   Tue Aug 29 09:55:05 2023 -0700

    Merge branch 'ibpsa:master' into issue406_largeoffice_spawn

commit 756895c
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 25 17:10:10 2023 -0700

    Revert "Revise the zone air capacitance"

    This reverts commit 9bd5ea7.

commit 9bd5ea7
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 25 15:58:01 2023 -0700

    Revise the zone air capacitance

commit d773922
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 25 15:42:42 2023 -0700

    Delete unnecessary files

commit ee1379d
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 25 15:29:27 2023 -0700

    Restructure the baseclasses package

commit 5ee1b1f
Author: terrancelu92 <[email protected]>
Date:   Wed Aug 23 09:00:51 2023 -0700

    Remove unnecessary folders

commit 12d7299
Author: terrancelu92 <[email protected]>
Date:   Tue Aug 22 19:42:45 2023 -0700

    Modified the html file

commit c9f5db5
Merge: 1b48315 592a978
Author: terrancelu92 <[email protected]>
Date:   Tue Aug 22 19:26:06 2023 -0700

    Merge pull request #3 from lzwang26/Documentations

    Finalized the documentation. Marked yellow for unclear values.

commit 592a978
Author: Lingzhe Wang <[email protected]>
Date:   Tue Aug 22 13:39:51 2023 -0700

    Finalized the documentation. Marked yellow for unclear values.

commit 1b48315
Author: terrancelu92 <[email protected]>
Date:   Mon Aug 21 22:02:28 2023 -0700

    Add all testing references file

commit 18e83a4
Merge: 6a2f488 1fd9663
Author: terrancelu92 <[email protected]>
Date:   Mon Aug 21 11:35:22 2023 -0700

    Merge branch 'ibpsa:master' into issue406_largeoffice_spawn

commit 6a2f488
Author: terrancelu92 <[email protected]>
Date:   Sun Aug 20 22:50:58 2023 -0700

    running testing case results

commit 1c6764a
Author: terrancelu92 <[email protected]>
Date:   Sun Aug 20 11:48:15 2023 -0700

    Update wrapped model and fmu

commit 622bfdd
Author: terrancelu92 <[email protected]>
Date:   Sun Aug 20 11:25:31 2023 -0700

    Revise the revision history

commit 0e404e3
Author: terrancelu92 <[email protected]>
Date:   Sun Aug 20 11:22:51 2023 -0700

    Update the model and documentation

commit eedd416
Merge: 2b53564 a235f35
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 18 18:01:08 2023 -0700

    Merge pull request #2 from lzwang26/Documentations

    Merge lingzhe's changes

commit a235f35
Author: Lingzhe Wang <[email protected]>
Date:   Fri Aug 18 09:03:39 2023 -0700

    Changing model names according to conventions.

commit a90b613
Author: Lingzhe Wang <[email protected]>
Date:   Fri Aug 18 08:39:40 2023 -0700

    Finished adding cross-references, missing documentations, and revision histories.

commit 44ade9a
Author: Lingzhe Wang <[email protected]>
Date:   Thu Aug 17 20:20:28 2023 -0700

    Finish adding revision history.

commit 74049d8
Author: Lingzhe Wang <[email protected]>
Date:   Thu Aug 17 20:16:33 2023 -0700

    Finish adding links and documentations.

commit 63826f3
Author: Lingzhe Wang <[email protected]>
Date:   Thu Aug 17 19:37:33 2023 -0700

    Finishing adding links.

commit 7449e54
Author: Lingzhe Wang <[email protected]>
Date:   Thu Aug 17 18:45:44 2023 -0700

    Add link to model 'HVAC'

commit b1af402
Author: terrancelu92 <[email protected]>
Date:   Thu Aug 17 15:56:47 2023 -0700

    Fix some errors

commit 0e59212
Merge: 2b53564 8fb47bc
Author: terrancelu92 <[email protected]>
Date:   Wed Aug 16 20:35:56 2023 -0700

    Merge pull request #1 from lzwang26/Documentations

    Adding documentations to component-level models

commit 8fb47bc
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 18:49:28 2023 -0700

    Finished changing the model names.

commit 3ce83b1
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:30:13 2023 -0700

    Finished changing model names on model 'whoBui96'

commit a085b36
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:28:41 2023 -0700

    Finished changing model names on model 'LoadWrapper'

commit f5740ce
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:25:40 2023 -0700

    Finished changing model names of model 'BoilerPlant'

commit 98a0b1c
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:23:38 2023 -0700

    Finished changing model names of model 'ChillerPlant'

commit 30fe822
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:14:32 2023 -0700

    Finished changing model names on model 'FivZonVAVNoVec'

commit 2705843
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:09:11 2023 -0700

    Finished changing model names on model 'Mixing Box'

commit 51311f5
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 16:04:43 2023 -0700

    Finished changing the model names on model 'VAVSupFan'

commit 9493482
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 15:59:22 2023 -0700

    Finished changing the model names on model 'cooCoi'

commit d9b2dc7
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 15:56:50 2023 -0700

    Finished changing the model names on model 'duaFanAirHanUni'

commit 3fe4772
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 15:48:13 2023 -0700

    Finished changing model names on model 'Floor'.

commit 4384cce
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 15:43:15 2023 -0700

    Change model names for model 'Floor'

commit 592755e
Author: Lingzhe Wang <[email protected]>
Date:   Wed Aug 16 14:04:10 2023 -0700

    Finish adding documentations for component-level models.

commit f75eb81
Author: Lingzhe Wang <[email protected]>
Date:   Tue Aug 15 15:49:35 2023 -0700

    Add documentations on Model HVAC and Chiller Plant

commit 08949fa
Author: Lingzhe Wang <[email protected]>
Date:   Tue Aug 15 14:56:52 2023 -0700

    Add the testcase documentation and include figures.

commit 2b53564
Author: terrancelu92 <[email protected]>
Date:   Fri Aug 11 17:53:58 2023 -0700

    Merge Lingzhe's revision into the file

commit 32ddd79
Author: terrancelu92 <[email protected]>
Date:   Wed Aug 9 16:51:07 2023 -0700

    Add documentation

commit a9b552e
Author: terrancelu92 <[email protected]>
Date:   Mon Jul 31 22:33:31 2023 -0700

    Update resource files

commit bfa7c8f
Author: terrancelu92 <[email protected]>
Date:   Mon Jul 31 20:07:23 2023 -0700

    Add large office emulator fmu and a python example

commit fbda598
Author: terrancelu92 <[email protected]>
Date:   Mon Jul 31 14:18:01 2023 -0700

    Add case study resource files

commit d0409f2
Author: terrancelu92 <[email protected]>
Date:   Thu Jul 27 19:34:07 2023 -0700

    Delete the EPlus only testcase

commit 44bd492
Author: terrancelu92 <[email protected]>
Date:   Tue Jun 20 10:57:30 2023 -0700

    Update the documentation

commit ef4ec23
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 19:08:48 2023 -0700

    Add airside power output and change the spawn exe version

commit 9145c42
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 18:50:24 2023 -0700

    Enhanced the testcase by adding the KPI outputs

commit f96f37e
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 17:49:47 2023 -0700

    Remove the original zone-level overwrite and read blocks

commit 22f82c7
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 17:09:09 2023 -0700

    Add the unit modifier

commit 20f96a9
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 16:23:43 2023 -0700

    Add description to the overwrite and read blocks

commit fb507ad
Author: terrancelu92 <[email protected]>
Date:   Mon Jun 19 14:10:30 2023 -0700

    Change model diagram and connection

commit f3fcdae
Author: terrancelu92 <[email protected]>
Date:   Fri Jun 16 13:46:06 2023 -0700

    Update the base models in the package building control emulator

commit 1eb6958
Author: terrancelu92 <[email protected]>
Date:   Fri Jun 16 10:25:38 2023 -0700

    Update the airside baseclasses

commit 35227cd
Author: terrancelu92 <[email protected]>
Date:   Fri Jun 16 01:00:05 2023 -0700

    Enhance the model annotations

commit d79c75f
Author: terrancelu92 <[email protected]>
Date:   Tue Jun 13 17:32:19 2023 -0700

    Update wrapped.mo

commit c303487
Merge: 62f41d9 a9aaec3
Author: terrancelu92 <[email protected]>
Date:   Tue Jun 13 17:21:57 2023 -0700

    Merge branch 'master' into issue406_spawnSupport

commit 62f41d9
Author: terrancelu92 <[email protected]>
Date:   Thu Jan 26 18:45:17 2023 -0800

    Create test_multizone_large_office_eplus.py

commit 06bd1d2
Author: terrancelu92 <[email protected]>
Date:   Mon Nov 7 15:04:21 2022 -0800

    Revise documentation html and remove limits of the inputs

commit 63a4dea
Author: terrancelu92 <[email protected]>
Date:   Fri Nov 4 11:13:20 2022 -0700

    Update .env

commit d4c8f45
Author: terrancelu92 <[email protected]>
Date:   Fri Nov 4 11:07:42 2022 -0700

    Set upper and lower bounds to the inputs of the testcases

commit 60ee4b7
Author: terrancelu92 <[email protected]>
Date:   Thu Nov 3 18:51:33 2022 -0700

    Add the documentation for the testcase

commit f1e0ba2
Author: terrancelu92 <[email protected]>
Date:   Thu Nov 3 17:53:29 2022 -0700

    Revise the run file of the testcase

commit f46741b
Author: terrancelu92 <[email protected]>
Date:   Wed Oct 26 19:19:29 2022 -0700

    Implementation of the controller file for large office eplus testcase

commit a692f35
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 25 19:52:20 2022 -0700

    Change the naming of the models

commit 11a8f02
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 25 19:41:23 2022 -0700

    rename the testcase name following the BOPTEST testcase naming format

commit a4bee0d
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 25 19:40:46 2022 -0700

    Remove unnecessary files

commit 626f1e7
Merge: 23daae2 0f32df7
Author: SenHuang19 <[email protected]>
Date:   Mon Oct 24 21:34:37 2022 -0400

    Merge pull request ibpsa#23 from terrancelu92/issue406_spawnSupport

    Issue406 spawn support

commit 0f32df7
Author: terrancelu92 <[email protected]>
Date:   Wed Oct 19 12:40:20 2022 -0700

    Remove unnecessary files

commit d1e8a4c
Author: terrancelu92 <[email protected]>
Date:   Wed Oct 19 12:35:58 2022 -0700

    remove unnecessary files

commit 3f69a0f
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 17:12:24 2022 -0700

    Update run_testcase.py

commit 8ef6206
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 17:11:15 2022 -0700

    Remove unnecessary files

commit 2eca204
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 17:08:20 2022 -0700

    Create an example to run the testcase

commit 6ce5f05
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 16:28:47 2022 -0700

    add required json

commit 068f20a
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 15:28:27 2022 -0700

    Remove unnecessary resource files

commit 6816e89
Author: terrancelu92 <[email protected]>
Date:   Tue Oct 18 14:49:00 2022 -0700

    First implementation of the large office EPlus testcase
  • Loading branch information
terrancelu92 committed Aug 29, 2023
1 parent c3e0192 commit e560a39
Show file tree
Hide file tree
Showing 123 changed files with 625,569 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,383 changes: 2,383 additions & 0 deletions testcases/multizone_office_complex_air/doc/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
within MultizoneOfficeComplexAir.BaseClasses.HVACSide.BaseClasses;
model BoilerPlant "Boiler hot water plant"
replaceable package MediumHW =
Modelica.Media.Interfaces.PartialMedium
"Medium in the hot water side";
parameter Integer n=2
"Number of boilers";
parameter Integer m=2
"Number of pumps";
parameter Real thrhol[:]= {0.95}
"Threshold for boiler staging";
parameter Real Cap[:] = {2762738.20/n for i in linspace(1, n, n)} "Rated Plant Capacity";
parameter Modelica.Units.SI.MassFlowRate mHW_flow_nominal[:]={2762738.20/n/20
/4200 for i in linspace(
1,
n,
n)} "Nominal mass flow rate at the hot water side";
parameter Modelica.Units.SI.Temperature THW_start=273.15 + 80
"The start temperature of hot water side";
parameter Modelica.Units.SI.TemperatureDifference dTHW_nominal=20
"Temperature difference between the outlet and inlet of the module";
parameter Real eta[n,:]={{0.8} for i in linspace(1,n,n)} "Fan efficiency";
parameter Modelica.Units.SI.Pressure dP_nominal=478250
"Nominal pressure drop for the secondary hot water pump ";
parameter Real v_flow_rate[m,:] = {{0.1*sum(mHW_flow_nominal)/m/996,0.6*sum(mHW_flow_nominal)/m/996,0.8*sum(mHW_flow_nominal)/m/996,sum(mHW_flow_nominal)/m/996,1.2*sum(mHW_flow_nominal)/m/996} for i in linspace(1,m,m)};
parameter Real pressure[m,:] = {{2*dP_nominal,1.5*dP_nominal,1.1*dP_nominal,dP_nominal,0.75*dP_nominal} for i in linspace(1,m,m)};

parameter Real Motor_eta_Sec[m,:] = {{0.6,0.76,0.87,0.86,0.74} for i in linspace(1,m,m)}
"Motor efficiency";
parameter Real Hydra_eta_Sec[m,:] = {{1,1,1,1,1} for i in linspace(1,m,m)} "Hydraulic efficiency";

Component.FlowMover.Pump.PumpSystem pumSecHW(
redeclare package Medium = MediumHW,
n=m,
m_flow_nominal={sum(mHW_flow_nominal)/m for i in linspace(
1,
m,
m)},
HydEff=Hydra_eta_Sec,
MotEff=Motor_eta_Sec,
VolFloCur=v_flow_rate,
PreCur=pressure,
dpValve_nominal={dP_nominal*0.25 for i in linspace(
1,
m,
m)}) annotation (Placement(transformation(extent={{10,20},{-10,40}})));
Modelica.Blocks.Math.RealToBoolean reaToBoolea
annotation (Placement(transformation(extent={{-160,80},{-140,100}})));
Modelica.Blocks.Sources.Constant On(k=1)
annotation (Placement(transformation(extent={{-260,80},{-240,100}})));
Component.FlowMover.Pump.Control.SecPumCon secPumCon(tWai=1800, n=m)
annotation (Placement(transformation(extent={{60,46},{80,66}})));
replaceable Buildings.Fluid.Sensors.TemperatureTwoPort senTHWBuiEnt(
allowFlowReversal=true,
redeclare package Medium = MediumHW,
m_flow_nominal=sum(mHW_flow_nominal))
annotation (Placement(transformation(
extent={{-10,-10},{10,10}},
rotation=0,
origin={64,-96})));
replaceable Component.WaterSide.Boiler.MultiBoilers mulBoi(
redeclare package MediumHW = MediumHW,
dPHW_nominal=dP_nominal*0.5,
mHW_flow_nominal=mHW_flow_nominal,
dTHW_nominal=dTHW_nominal,
eta=eta,
n=n,
THW_start=THW_start)
annotation (Placement(transformation(extent={{-96,-44},{-62,-16}})));
Buildings.Fluid.Storage.ExpansionVessel expVesCHW(redeclare package Medium =
MediumHW, V_start=10)
annotation (Placement(transformation(extent={{30,8},{38,16}})));
Modelica.Fluid.Interfaces.FluidPort_a port_a(redeclare package Medium = MediumHW)
"Fluid connector a (positive design flow direction is from port_a to port_b)"
annotation (Placement(transformation(extent={{230,30},{250,50}}),
iconTransformation(extent={{90,30},{110,50}})));

Modelica.Fluid.Interfaces.FluidPort_b port_b(redeclare package Medium = MediumHW)
"Fluid connector b (positive design flow direction is from port_a to port_b)"
annotation (Placement(transformation(extent={{230,-70},{250,-50}}),
iconTransformation(extent={{90,-70},{110,-50}})));
Component.WaterSide.Control.PlantStageN boiSta(
tWai=1800,
n=n,
thehol=thrhol,
Cap=Cap) annotation (Placement(transformation(extent={{-80,60},{-60,80}})));
Modelica.Blocks.Interfaces.RealInput dp "Measured pressure drop"
annotation (Placement(transformation(extent={{-320,-20},{-280,20}}),
iconTransformation(extent={{-140,-20},{-100,20}})));

Modelica.Blocks.Interfaces.RealOutput THWLea
"Temperature of the passing fluid"
annotation (Placement(transformation(extent={{240,-10},{260,10}}),
iconTransformation(extent={{100,-10},{120,10}})));
Buildings.Fluid.Sensors.TemperatureTwoPort senTHWBuiLea(
allowFlowReversal=true,
redeclare package Medium = MediumHW,
m_flow_nominal=sum(mHW_flow_nominal)) annotation (Placement(transformation(
extent={{10,-10},{-10,10}},
rotation=0,
origin={120,22})));
replaceable Buildings.Fluid.Sensors.MassFlowRate senMasFlo(redeclare package
Medium =
MediumHW) annotation (Placement(transformation(
extent={{-10,12},{10,-12}},
rotation=180,
origin={82,22})));
Modelica.Blocks.Sources.RealExpression realExpression(y=senMasFlo.m_flow*4200
*(senTHWBuiEnt.T - senTHWBuiLea.T))
annotation (Placement(transformation(extent={{62,-50},{42,-30}})));
Modelica.Blocks.Interfaces.RealInput THWSet
"Temperature setpoint of the hot water"
annotation (Placement(transformation(extent={{-320,40},{-280,80}}),
iconTransformation(extent={{-140,40},{-100,80}})));
Modelica.Blocks.Interfaces.RealInput dpSet
"Static differential pressure setpoint for the secondary pump"
annotation (Placement(transformation(extent={{-320,-80},{-280,-40}}),
iconTransformation(extent={{-140,-80},{-100,-40}})));
Modelica.Blocks.Sources.RealExpression PTot(y=sum(pumSecHW.P) + sum(
mulBoi.boi.boi.QFue_flow))
annotation (Placement(transformation(extent={{140,-120},{160,-100}})));
Modelica.Blocks.Continuous.Integrator ETot
annotation (Placement(transformation(extent={{180,-120},{200,-100}})));
equation
connect(On.y, reaToBoolea.u)
annotation (Line(points={{-239,90},{-162,90}}, color={0,0,127}));

connect(secPumCon.On, reaToBoolea.y) annotation (Line(points={{58,64},{40,64},
{40,90},{-139,90}}, color={255,0,255}));
connect(mulBoi.port_a_HW, pumSecHW.port_b) annotation (Line(
points={{-62,-18.8},{-62,30},{-10,30}},
color={255,0,0},
thickness=1));
connect(mulBoi.port_b_HW, senTHWBuiEnt.port_a) annotation (Line(
points={{-62,-41.2},{-58,-41.2},{-58,-96},{54,-96}},
color={255,0,0},
thickness=1));

connect(pumSecHW.speRat, secPumCon.sta) annotation (Line(points={{-11,
36.2},{-20,36.2},{-20,48},{58,48}}, color={0,0,127}));
connect(senTHWBuiEnt.port_b, port_b) annotation (Line(
points={{74,-96},{106,-96},{106,-60},{240,-60}},
color={255,0,0},
thickness=1));
connect(boiSta.On, reaToBoolea.y) annotation (Line(points={{-82,78},{-120,78},
{-120,90},{-139,90}}, color={255,0,255}));
connect(secPumCon.dpMea, dp) annotation (Line(points={{58,56},{-180,56},{
-180,0},{-300,0}}, color={0,0,127}));
connect(senTHWBuiEnt.T, THWLea) annotation (Line(
points={{64,-85},{64,0},{250,0}},
color={0,0,127}));
connect(mulBoi.Rat, boiSta.sta) annotation (Line(points={{-60.3,-35.6},{-32,
-35.6},{-32,34},{-92,34},{-92,62},{-82,62}}, color={0,0,127}));
connect(boiSta.y, mulBoi.On) annotation (Line(points={{-59,70},{-42,70},{
-42,28},{-142,28},{-142,-35.6},{-97.53,-35.6}}, color={0,0,127}));
connect(senTHWBuiLea.port_a, port_a) annotation (Line(
points={{130,22},{134,22},{134,40},{240,40}},
color={255,0,0},
thickness=1));
connect(expVesCHW.port_a, pumSecHW.port_a) annotation (Line(
points={{34,8},{34,2},{54,2},{54,30},{10,30}},
color={255,0,0},
thickness=1));
connect(senMasFlo.port_b, pumSecHW.port_a) annotation (Line(
points={{72,22},{48,22},{48,30},{10,30}},
color={255,0,0},
thickness=1));
connect(senMasFlo.port_a, senTHWBuiLea.port_b) annotation (Line(
points={{92,22},{110,22}},
color={255,0,0},
thickness=1));
connect(realExpression.y,boiSta.loa) annotation (Line(points={{41,-40},{-20,-40},
{-20,2},{-110,2},{-110,70},{-82,70}}, color={0,0,127}));
connect(secPumCon.y,pumSecHW.speSig) annotation (Line(
points={{81,56},{86,56},{86,38},{10.9,38}},
color={0,0,127}));
connect(mulBoi.THWSet, THWSet) annotation (Line(points={{-97.53,-24.4},{-220,
-24.4},{-220,60},{-300,60}}, color={0,0,127}));
connect(secPumCon.dpSet, dpSet) annotation (Line(points={{58,52},{-240,52},
{-240,-60},{-300,-60}}, color={0,0,127}));
connect(PTot.y,ETot. u) annotation (Line(
points={{161,-110},{178,-110}},
color={0,0,127}));
annotation (__Dymola_Commands(file=
"modelica://ChillerPlantSystem/Resources/Scripts/Dymola/LejeunePlant/ChillerPlantSystem.mos"
"Simulate and plot"),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-280,-140},{240,
120}})),
experiment(
StartTime=2.9376e+006,
StopTime=3.6288e+006,
__Dymola_NumberOfIntervals=1440,
__Dymola_Algorithm="Dassl"),
__Dymola_experimentSetupOutput,
Documentation(info="<html>
<p>The hot water system consists of two gas boilers and two variable speed pumps.</p>
<p><img src=\"modelica://MultiZoneOfficeComplexAir/../../doc/images/BoilerControl.PNG\"/> </p>
<p>The number of operating boilers is determined via a state machine based on the thermal load(Q, kW), rated heating capacity of boiler k (hck, kW),
threshold to start boiler k+1 (&xi;k = 0.9), and waiting time (30 min). The maximum operating boiler number is N, which is equal to 2.</p>
<p>Boiler heating power is controlled by a PI controller to maintain the temperature of the hot water leaving each boiler to be 80 &deg;C.
It takes the hot water measurements and set points as inputs. It takes the heating power as the output. </p>
<p>Boiler pump speed is controlled by a PI controller to maintain the static pressure of the boiler water loop at setpoint.
It takes the heat water loop pressure drop measurements and setpoints as inputs. It takes the pump speed as the output. All the boiler pumps share the same speed. </p>
<p>See the model <a href=\"modelica://MultizoneOfficeComplexAir.BaseClasses.HVACSide.BaseClasses.Component.WaterSide.Boiler.MultiBoilers\">
MultizoneOfficeComplexAir.BaseClasses.HVACSide.BaseClasses.Component.WaterSide.Boiler.MultiBoilers</a> for a description of the multiple boiler. </p>
<p>See the model <a href=\"modelica://MultizoneOfficeComplexAir.BaseClasses.HVACSide.BaseClasses.Component.WaterSide.Control.PlantStageN\">
MultizoneOfficeComplexAir.BaseClasses.HVACSide.BaseClasses.Component.WaterSide.Control.PlantStageN</a> for a description of the boiler stage control. </p>
</html>", revisions = "<html>
<ul>
<li> August 17, 2023, by Xing Lu, Sen Huang, Lingzhe Wang:
<p> First implementation.</p>
</ul>
</html>"),
Icon(graphics={
Rectangle(
extent={{-100,100},{100,-100}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Rectangle(
extent={{-36,-26},{28,-46}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Polygon(
points={{-76,24},{-86,-2},{-66,-2},{-76,24}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Ellipse(
extent={{50,20},{74,-4}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Line(points={{-76,24},{-76,46},{28,46}}, color={0,0,127}),
Line(points={{-76,-2},{-76,-36},{-36,-36}}, color={0,0,127}),
Line(points={{62,20},{62,46},{28,46}}, color={0,0,127}),
Line(points={{62,-4},{62,-36},{28,-36}}, color={0,0,127}),
Text(
extent={{-150,104},{150,144}},
textString="%name",
textColor={0,0,255})}));
end BoilerPlant;
Loading

0 comments on commit e560a39

Please sign in to comment.