Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2729 commits
Select commit Hold shift + click to select a range
c9b6283
Merge branch 'issue4227_fixedResistanceActuators' of github.com:lbl-s…
AntoineGautier May 8, 2025
0edebb4
Merge branch 'issue1374_template_CHW_final' of github.com:lbl-srg/mod…
AntoineGautier May 9, 2025
9d33d70
Refactor after merge, include balancing valves
AntoineGautier May 9, 2025
4d31a59
Merge branch 'master' of github.com:lbl-srg/modelica-buildings
AntoineGautier May 20, 2025
8826f03
Merge branch 'issue4169_loadDepHpChillerModels' of github.com:lbl-srg…
AntoineGautier May 20, 2025
05c3b7b
Update checksum [ci skip]
AntoineGautier May 20, 2025
f8d6c20
Merge branch 'master' of github.com:lbl-srg/modelica-buildings
AntoineGautier Jun 2, 2025
cbba562
Address review comments
AntoineGautier Jun 2, 2025
b55e728
Rename parameter, update doc
AntoineGautier Jun 2, 2025
d7bb718
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Jun 2, 2025
c022c82
corrected wrong connection
JayHuLBL Jun 2, 2025
dae85a9
Added assert messages for invalid combinations of plant configuration…
karthikeyad-pnnl Jun 4, 2025
bd6eb27
Added reference results for new boiler plant primary controller
karthikeyad-pnnl Jun 4, 2025
118cd7a
updated economizer documentation
JayHuLBL Jun 4, 2025
13b1628
Updated modules to resolve errors found during unit tests
karthikeyad-pnnl Jun 4, 2025
316b175
Updated staging down sequence to resolve errors in unit test
karthikeyad-pnnl Jun 4, 2025
f8eb214
Updated unit test results after all updates for boiler plant template…
karthikeyad-pnnl Jun 4, 2025
6f8e539
updated references
JayHuLBL Jun 5, 2025
a8c5a34
Corrected citation (per abstract)
mwetter Jun 5, 2025
cf720ce
Moved record
mwetter Jun 5, 2025
cc9fd76
Added block icon
mwetter Jun 5, 2025
e274101
Corrected connector sizes
mwetter Jun 5, 2025
1ef5499
addressing comments
JayHuLBL Jun 6, 2025
f3f7bb4
removed duplicated protected
JayHuLBL Jun 6, 2025
41a13f2
updated reference
JayHuLBL Jun 7, 2025
fefd625
Update release notes
AntoineGautier Jun 9, 2025
8951a69
Merge branch 'master' of github.com:lbl-srg/modelica-buildings
AntoineGautier Jun 9, 2025
e2cbb7e
Move declarations of P_min and tabNam*
AntoineGautier Jun 12, 2025
e5c5f46
Update doc
AntoineGautier Jun 12, 2025
8dcde2c
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Jul 1, 2025
7c2cbfc
changed validation model to avoid optimica run error [ci skip]
JayHuLBL Jul 8, 2025
bbfe437
Changed derived parameters to final
karthikeyad-pnnl Jul 8, 2025
3872867
added PID with enable controller
JayHuLBL Jul 8, 2025
fd1c7ad
Updated all comments and instance names related to plant and reset re…
karthikeyad-pnnl Jul 8, 2025
c697e81
Updated unit information. Removed duplicate parameters. Updated Boole…
karthikeyad-pnnl Jul 8, 2025
bf2731e
updated reference
JayHuLBL Jul 8, 2025
50aa83d
Removed redundant Boolean edge detectors
karthikeyad-pnnl Jul 8, 2025
bafebd3
used the PID controller with enable, updated reference
JayHuLBL Jul 8, 2025
1f96d2e
used status emulator for closed loop example
JayHuLBL Jul 8, 2025
f52258f
updated closed-loop test reference
JayHuLBL Jul 8, 2025
5e2de3c
propagated WSE chiller water bypass valve control to top level contro…
JayHuLBL Jul 8, 2025
81f56a0
Changed temperature setpoint reset parameter defaults. Updated parame…
karthikeyad-pnnl Jul 9, 2025
d99f838
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Jul 9, 2025
7ceb4bf
changed the condenser water isolation valve to be optional
JayHuLBL Jul 9, 2025
08d4ed7
Updated code per comments on #2700
karthikeyad-pnnl Jul 9, 2025
83e0c6d
Renamed boiler status input on pump controller. Moved pump curves to …
karthikeyad-pnnl Jul 10, 2025
4327287
seprated local DP setpoint calculation
JayHuLBL Jul 10, 2025
eca779f
Refactored hot water supply temp reset to use new implementation of T&R
karthikeyad-pnnl Jul 10, 2025
e3d46f3
Fixed conditional enable that results in compilation issues
karthikeyad-pnnl Jul 11, 2025
0452e4c
merged master
JayHuLBL Aug 1, 2025
e8e1147
added water level unit, added plant schedule input
JayHuLBL Aug 1, 2025
be821fd
updated reference
JayHuLBL Aug 1, 2025
6e8faf8
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Aug 4, 2025
2f64c3c
changed the condenser water pump speed setpoint to be conditional
JayHuLBL Aug 4, 2025
a115341
refactored the calculation of chiller lifts
JayHuLBL Aug 5, 2025
92f854d
Refactor after merge
AntoineGautier Aug 4, 2025
a740957
added air-cooled chiller flag
JayHuLBL Aug 6, 2025
09ea65a
removed plant cooling load input
JayHuLBL Aug 6, 2025
9968a16
removed tower fan speed input
JayHuLBL Aug 6, 2025
9c1207c
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Aug 7, 2025
13df564
Refactor after merge
AntoineGautier Aug 7, 2025
623c8b1
Change class name for PIDWithEnable to use the one from
AntoineGautier Aug 7, 2025
80b9fbc
removed chiller load input
JayHuLBL Aug 7, 2025
6b8c157
added prefix r
JayHuLBL Aug 7, 2025
cda6a2c
Merge branch 'issue4306_addPrefixR' into issue2293_chiller_plant_seq
JayHuLBL Aug 7, 2025
834b606
fixed optimica run error
JayHuLBL Aug 7, 2025
a001148
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Aug 8, 2025
9e7f243
Refactor after merge
AntoineGautier Aug 8, 2025
536067a
Add validation for air-cooled chiller plant [ci skip]
AntoineGautier Aug 8, 2025
ee49408
upgraded node version
JayHuLBL Aug 8, 2025
792cd80
upgraded node version before installation
JayHuLBL Aug 8, 2025
1e20ba9
switch to the desired node version
JayHuLBL Aug 8, 2025
4b82c14
added sudo
JayHuLBL Aug 8, 2025
f0215c9
changed approach to upgrade node
JayHuLBL Aug 8, 2025
4a3a4d9
changed back node upgrade approach
JayHuLBL Aug 8, 2025
d5ce318
added sudo
JayHuLBL Aug 8, 2025
9bcd6a4
add npm installation
JayHuLBL Aug 8, 2025
04f6220
added rehash
JayHuLBL Aug 8, 2025
c6ffb69
added command end
JayHuLBL Aug 8, 2025
9c617b9
added apt update
JayHuLBL Aug 8, 2025
e41e6d6
moved the node version update to the test script
JayHuLBL Aug 8, 2025
b894897
added npm installation
JayHuLBL Aug 8, 2025
a807c30
updated node js version
JayHuLBL Aug 8, 2025
e722b46
changed yml file syntax error
JayHuLBL Aug 8, 2025
2de2099
corrected .yml error
JayHuLBL Aug 8, 2025
b810297
added specific node version
JayHuLBL Aug 8, 2025
6b06c4b
changed to the latest node version
JayHuLBL Aug 8, 2025
635463e
changed to the latest node version
JayHuLBL Aug 8, 2025
b344612
Merge branch 'issue4169_loadDepHpChillerModels' of github.com:lbl-srg…
AntoineGautier Aug 12, 2025
4d403ed
Merge branch 'issue4306_addPrefixR' into issue2293_chiller_plant_seq
JayHuLBL Aug 12, 2025
053228f
fixing typos [ci skip]
JayHuLBL Aug 13, 2025
264283f
fixed typos
JayHuLBL Aug 13, 2025
aa83bdc
addressing comments
JayHuLBL Aug 14, 2025
a36d420
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Aug 14, 2025
bd267b7
addressing the comments
JayHuLBL Aug 18, 2025
2520a71
added missing comments
JayHuLBL Aug 19, 2025
3e80884
changed the flag for chiller load reduction
JayHuLBL Aug 19, 2025
89ab050
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Aug 19, 2025
1eb4614
fixing the tupos
JayHuLBL Aug 20, 2025
4634b9e
Updated Boolean conditionals for volume flowrate measurement across m…
karthikeyad-pnnl Aug 21, 2025
830a0d5
Fixed illegal parameter modifications in secondary pump controller va…
karthikeyad-pnnl Aug 21, 2025
9d76563
Updated interface name for staging setpoint change detection module
karthikeyad-pnnl Aug 21, 2025
2891217
Updated logic and validation model for block to identify boilers to b…
karthikeyad-pnnl Aug 21, 2025
5746058
Updated variable names in validation scripts
karthikeyad-pnnl Aug 21, 2025
15d4088
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Aug 21, 2025
08c6684
added condenser water return temperature array
JayHuLBL Aug 21, 2025
efc2aa4
Merge branch 'master' of github.com:lbl-srg/modelica-buildings into i…
AntoineGautier Aug 22, 2025
4b86d68
Reintroduce P_min in HP and HP group record, fix Dymola warnings
AntoineGautier Aug 22, 2025
950223e
Update results
AntoineGautier Aug 22, 2025
36cf767
Add release notes, update validation models & checksum
AntoineGautier Aug 22, 2025
64b2fbc
Fix assert statements
AntoineGautier Aug 22, 2025
f4396f0
fixed the nSta calculation
JayHuLBL Aug 22, 2025
9fc7bf6
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Aug 22, 2025
294cef3
deleted 2 equipment rotation package [ci skip]
JayHuLBL Aug 22, 2025
ec6ccbe
Changed diff pressure setpoint interfaces to use array
karthikeyad-pnnl Aug 22, 2025
6296f2a
Updated temp difference parameters to correct instance name format
karthikeyad-pnnl Aug 22, 2025
b7b7d91
Updated blocks and modules to address comments on #2700
karthikeyad-pnnl Aug 22, 2025
847178b
Fixed errors found in unit test
karthikeyad-pnnl Aug 22, 2025
eee912a
Fixed validation scripts to resolve unit test errors
karthikeyad-pnnl Aug 23, 2025
930b46c
Updated unit test results
karthikeyad-pnnl Aug 23, 2025
a27279c
Change Radau to Cvode in validation script [ci skip]
AntoineGautier Aug 25, 2025
6385141
Update results
AntoineGautier Aug 25, 2025
a4ea151
addressing comments
JayHuLBL Aug 26, 2025
3280049
Updated models and validation script for closed loop example
karthikeyad-pnnl Aug 27, 2025
25d98b3
Fixed variable name
karthikeyad-pnnl Aug 27, 2025
2fca328
Updated unit test script and reference results
karthikeyad-pnnl Aug 27, 2025
8c8f70f
Updated simulation settings in model to match validation script
karthikeyad-pnnl Aug 27, 2025
08ecbe8
Updated code formatting of closed loop validation plant
karthikeyad-pnnl Aug 27, 2025
0a51ac1
Fixed errors found in unit tests
karthikeyad-pnnl Aug 27, 2025
5c29458
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Aug 27, 2025
1cb8051
Refactor after merge
AntoineGautier Aug 27, 2025
4105f75
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Aug 27, 2025
72f97c5
changed chiller capacity calculation
JayHuLBL Aug 27, 2025
79f8bfe
deleted the removed package
JayHuLBL Aug 27, 2025
e2b4519
Updated interfaces and documentation for secondary pump controller an…
karthikeyad-pnnl Aug 28, 2025
95d164d
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Aug 28, 2025
ab30322
Updated enable condition for condensing boiler design setpoint
karthikeyad-pnnl Aug 28, 2025
0d03713
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Sep 1, 2025
c0658bb
Refactor after merge
AntoineGautier Sep 1, 2025
ca77969
Merge branch 'issue4152_HpTemplateWithModular' of github.com:lbl-srg/…
AntoineGautier Sep 1, 2025
1211d0e
Removed interface for boiler availability from main controller
karthikeyad-pnnl Sep 3, 2025
5d6185b
Refactor after merge [ci skip]
AntoineGautier Sep 1, 2025
63c69bd
Updated documentation on bloick for shutting isolation valves during …
karthikeyad-pnnl Sep 3, 2025
045e873
Added block to calculate weighted average of boiler supply temperature
karthikeyad-pnnl Sep 4, 2025
b4bba78
Updated modules to accommodate changes in interface names for weighte…
karthikeyad-pnnl Sep 4, 2025
81e9754
Updated remote and local differential pressure setpoint parameters
karthikeyad-pnnl Sep 4, 2025
b884e1b
Updated default values to use correct conversion of Fahrenheit
karthikeyad-pnnl Sep 4, 2025
af5b028
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Sep 4, 2025
cbdfdf6
Refactor after merge [ci skip]
AntoineGautier Sep 4, 2025
e9def85
Fixed formatting and graphical layer
karthikeyad-pnnl Sep 9, 2025
55e88ea
Propagated changes to boiler design flowrate parameter to all classes…
karthikeyad-pnnl Sep 9, 2025
efacf23
Updated parameter definitions for secondary loop flow sensor
karthikeyad-pnnl Sep 9, 2025
05297c6
Merge branch 'master' of github.com:lbl-srg/modelica-buildings
AntoineGautier Sep 10, 2025
11be011
Move P_min outside of chiller perf. record, update chiller components
AntoineGautier Sep 10, 2025
3339a6a
Update checksum and release notes
AntoineGautier Sep 10, 2025
ce936c2
Merge branch 'issue4152_HpTemplateWithModular' of github.com:lbl-srg/…
AntoineGautier Sep 10, 2025
8d8320a
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Sep 10, 2025
bca5621
Refactor after merge [ci skip]
AntoineGautier Sep 10, 2025
d03d546
addressing new comments
JayHuLBL Sep 10, 2025
f317b9b
removed condenser water pump speed input [ci skip]
JayHuLBL Sep 11, 2025
4e1442f
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Sep 11, 2025
0fe9b78
Refactor after merge [ci skip]
AntoineGautier Sep 11, 2025
7c80f41
added the head pressure control types enumeration [ci skip]
JayHuLBL Sep 11, 2025
9220a2b
updated enable/disable condition [ci skip]
JayHuLBL Sep 11, 2025
cf352f2
corrected comments
JayHuLBL Sep 11, 2025
a5e7bee
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Sep 12, 2025
8cf9c73
Refactor after merge [ci skip]
AntoineGautier Sep 12, 2025
55ea8c5
corrected chilled water isolation valve control [ci skip]
JayHuLBL Sep 12, 2025
7feec70
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Sep 15, 2025
035af8d
Refactored types classes
karthikeyad-pnnl Sep 16, 2025
fb49716
Refactored all type assignments
karthikeyad-pnnl Sep 16, 2025
a69259d
Moved parameter from protected section. Updated parameter assignment …
karthikeyad-pnnl Sep 16, 2025
e173ce3
Updated enable condition calculation for secondary flow sensor input
karthikeyad-pnnl Sep 17, 2025
abfb240
Fixed incorrect definitions for secondary pump speed control type
karthikeyad-pnnl Sep 17, 2025
248b1d0
Fixed unit test errors
karthikeyad-pnnl Sep 17, 2025
ca0bbea
Updated validation script to remove redundant plots
karthikeyad-pnnl Sep 17, 2025
98bd202
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Sep 17, 2025
8e2118a
Updated unit test results
karthikeyad-pnnl Sep 17, 2025
4cfcca4
Fixed validation script for Example model
karthikeyad-pnnl Sep 17, 2025
6f292d5
Updated unit test results
karthikeyad-pnnl Sep 17, 2025
f2d4d86
Refactor after merge [ci skip]
AntoineGautier Sep 17, 2025
6b09b3e
Updated calculations for plant and reset requests from secondary loop…
karthikeyad-pnnl Sep 18, 2025
39129dc
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
karthikeyad-pnnl Sep 18, 2025
5dc6a46
Updated validation script and reference results
karthikeyad-pnnl Sep 18, 2025
ac694fe
Merge remote-tracking branch 'upstream/master' into issue2180_BoilerP…
karthikeyad-pnnl Sep 18, 2025
d114350
merged master
JayHuLBL Sep 18, 2025
77acc45
fixed html error and the deleted not needed texts
JayHuLBL Sep 18, 2025
1e77862
fixed wrong experimental setup
JayHuLBL Sep 18, 2025
9f9d666
updating reference and the openmodelica scripts [ci skip]
JayHuLBL Sep 18, 2025
1cfee68
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Sep 19, 2025
7e67940
Updated system sizing parameters to resolve short cycling. Changed th…
karthikeyad-pnnl Sep 19, 2025
d57db7f
Updated module for primary pump speed control using flowrate
karthikeyad-pnnl Sep 28, 2025
f8dbe8b
Upadted reference results
karthikeyad-pnnl Sep 28, 2025
5c7a111
Refactor after merge
AntoineGautier Sep 29, 2025
01f76fc
Changed logic for secondary pump speed control to use min speed when …
karthikeyad-pnnl Oct 1, 2025
8d9f259
Updated baseclasses for closed loop example
karthikeyad-pnnl Oct 1, 2025
3838178
Updated closed-loop example model
karthikeyad-pnnl Oct 1, 2025
2df5901
Updated reference results
karthikeyad-pnnl Oct 1, 2025
80a958c
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Oct 1, 2025
1b9d696
Refactor after merge
AntoineGautier Oct 1, 2025
ea6e1c5
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Oct 6, 2025
657f63e
Changed start time for validation script
karthikeyad-pnnl Oct 12, 2025
1a27d6a
Updated sizing parameters, defaults and documentation
karthikeyad-pnnl Oct 12, 2025
3f2bd45
Updated reference results
karthikeyad-pnnl Oct 12, 2025
e492a78
Updated icon layer. Removed redundant parameter assignments. Updated …
karthikeyad-pnnl Oct 14, 2025
564839c
Updated control module blocks to resolve comments about enable parame…
karthikeyad-pnnl Oct 15, 2025
7a5c561
Fixed issues with unit tests
karthikeyad-pnnl Oct 15, 2025
f4223dc
Updated reference results
karthikeyad-pnnl Oct 15, 2025
91c578b
Updated documentation to include information about validation plots.
karthikeyad-pnnl Oct 15, 2025
054a652
Updated documentation
karthikeyad-pnnl Oct 15, 2025
2fae9a0
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Oct 17, 2025
f35aafa
Merge branch 'master' into issue2293_chiller_plant_seq
JayHuLBL Nov 11, 2025
4d78386
added start attribute
JayHuLBL Nov 19, 2025
2a7b274
addressed minor comments [ci skip]
JayHuLBL Nov 26, 2025
5183eec
applied timer with reset [ci skip]
JayHuLBL Nov 26, 2025
102886c
Merge branch 'issue2293_chiller_plant_seq' of github.com:lbl-srg/mode…
AntoineGautier Nov 27, 2025
1080629
Implement new load model
AntoineGautier Nov 27, 2025
1c3e79b
Merge branch 'master' of github.com:lbl-srg/modelica-buildings
AntoineGautier Dec 2, 2025
d8a0182
Merge branch 'issue1374_template_CHW_final' of github.com:lbl-srg/mod…
AntoineGautier Dec 2, 2025
43c1fdc
Refactor after merge
AntoineGautier Dec 2, 2025
35dd342
Implement new load model
AntoineGautier Dec 2, 2025
5168f07
Updated load components in secondary loop baseclass
karthikeyad-pnnl Dec 4, 2025
c29e045
Removed final keyword from changeable parameters. Fixed incorrect con…
karthikeyad-pnnl Dec 4, 2025
accc432
Updated reference results for unit tests
karthikeyad-pnnl Dec 4, 2025
bc0235c
Merge remote-tracking branch 'upstream/issue2180_BoilerPlant_MainCont…
karthikeyad-pnnl Dec 4, 2025
6c4a8cb
Updated documentation to reflect updated load model
karthikeyad-pnnl Dec 4, 2025
6ae563d
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
AntoineGautier Dec 4, 2025
74ce95c
Add delay to HW loop
AntoineGautier Dec 4, 2025
a136b32
Changed inconsistent time value in validation plot
karthikeyad-pnnl Dec 4, 2025
a96a94b
Updated unit test reference result
karthikeyad-pnnl Dec 4, 2025
b9d1996
Merge branch 'issue2180_BoilerPlant_Nov23' of github.com:karthikeyad-…
karthikeyad-pnnl Dec 4, 2025
d350d8e
Renamed closed-loop validation model
karthikeyad-pnnl Dec 8, 2025
8004d52
Updated plot positions in validation script
karthikeyad-pnnl Dec 8, 2025
5d4f21a
Merge pull request #4319 from karthikeyad-pnnl/issue2180_BoilerPlant_…
AntoineGautier Jan 30, 2026
c36750e
Merge branch 'master' of github.com:lbl-srg/modelica-buildings into i…
AntoineGautier Jan 30, 2026
48792f9
Update load model, use heating load from data file
AntoineGautier Jan 30, 2026
d7d2dbe
Update results
AntoineGautier Jan 30, 2026
c4ce81c
Updated HTML formatting in documentation
karthikeyad-pnnl Feb 2, 2026
02236e6
Uncommented protect statement
karthikeyad-pnnl Feb 3, 2026
9f4199d
Merge remote-tracking branch 'upstream/issue2180_BoilerPlant_MainCont…
karthikeyad-pnnl Feb 3, 2026
e798544
Updated documentation formatting. Added missing revision tracker to d…
karthikeyad-pnnl Feb 3, 2026
8063f2e
Merge pull request #4473 from karthikeyad-pnnl/issue2180_BoilerPlant_…
AntoineGautier Feb 3, 2026
8f05e85
Merge branch 'issue2180_BoilerPlant_MainController_oct_2021' of githu…
AntoineGautier Feb 10, 2026
18dbc09
Refactor after merge
AntoineGautier Feb 10, 2026
10bdf28
Format
AntoineGautier Feb 10, 2026
09bf7a8
Eliminate Dymola's warning
AntoineGautier Feb 10, 2026
cd6b2f1
Remove support for multiple secondary flow sensors, clean comments
AntoineGautier Feb 10, 2026
7be1352
Update validation script
AntoineGautier Feb 11, 2026
40b6f96
Update results
AntoineGautier Feb 11, 2026
2599460
Fix case w/o secondary flow sensor
AntoineGautier Feb 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
260 changes: 130 additions & 130 deletions .travis.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ model Guideline36
Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Controller con(
eneStd=Buildings.Controls.OBC.ASHRAE.G36.Types.EnergyStandard.ASHRAE90_1,
venStd=Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard.ASHRAE62_1,

final VAreBreZon_flow=0.0144,
final VPopBreZon_flow=0.0075,
ecoHigLimCon=Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulb,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ block ZoneWithAHUG36
Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Controller con(
eneStd=Buildings.Controls.OBC.ASHRAE.G36.Types.EnergyStandard.ASHRAE90_1,
venStd=Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard.ASHRAE62_1,

VAreBreZon_flow=0.4989,
VPopBreZon_flow=0.2075,
ecoHigLimCon=Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulb,
Expand Down Expand Up @@ -229,12 +228,12 @@ equation
preserveAspectRatio=false, extent={{-160,-160},{160,160}})),
Documentation(info="<html>
<p>
This base class contains a controller based on Guideline36
This base class contains a controller based on Guideline36
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Controller\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Controller</a>,
a single-zone VAV system
<a href=\"modelica://Buildings.Air.Systems.SingleZone.VAV.ChillerDXHeatingEconomizer\">
Buildings.Air.Systems.SingleZone.VAV.ChillerDXHeatingEconomizer</a>,
Buildings.Air.Systems.SingleZone.VAV.ChillerDXHeatingEconomizer</a>,
and a single-zone floor building
<a href=\"modelica://Buildings.ThermalZones.Detailed.Validation.BaseClasses.SingleZoneFloor\">
Buildings.ThermalZones.Detailed.Validation.BaseClasses.SingleZoneFloor</a>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,15 @@ partial model PartialDataCenter
annotation (Placement(transformation(extent={{10,-10},{-10,10}},
rotation=90,
origin={-50,-150})));
Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom roo(
Buildings.Examples.ChillerPlants.DataCenter.BaseClasses.SimplifiedRoom roo(
redeclare replaceable package Medium = MediumA,
rooLen=50,
rooWid=30,
rooHei=3,
m_flow_nominal=mAir_flow_nominal,
QRoo_flow=500000,
nPorts=2)
"Room model"
annotation (Placement(transformation(
extent={{10,-10},{-10,10}},
origin={4,-180})));
nPorts=2) "Room model" annotation (Placement(transformation(extent={{10,-10},
{-10,10}}, origin={4,-180})));
Buildings.Fluid.Actuators.Valves.TwoWayLinear val[numChi](
redeclare each package Medium = MediumW,
each m_flow_nominal=m1_flow_chi_nominal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ model DXCooledAirsideEconomizer
parameter Real minSpeFan = 0.2
"Minimum fan speed ratio required by variable speed fans";

Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom roo(
Buildings.Examples.ChillerPlants.DataCenter.BaseClasses.SimplifiedRoom roo(
redeclare package Medium = Medium,
rooLen=50,
rooHei=3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,21 +698,21 @@ outdoor air requirements. Different sequence will be enabled depending on the
designes minimum outdoor air and economizer function, which include
<ol type=\"i\">
<li>
separate minimum outdoor air damper, with airflow measurement.
separate minimum outdoor air damper, with airflow measurement.
See
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.SeparateWithAFMS\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.SeparateWithAFMS</a>
for a description.
</li>
<li>
separate minimum outdoor air damper, with differential pressure measurement.
separate minimum outdoor air damper, with differential pressure measurement.
See
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.SeparateWithDP\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.SeparateWithDP</a>
for a description.
</li>
<li>
single common minimum outdoor air and economizer damper.
single common minimum outdoor air and economizer damper.
See
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Common\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Common</a>
Expand All @@ -738,14 +738,14 @@ that were computed in the above blocks. Different sequence will be enabled depen
on the types of building pressure control system, which include
<ol type=\"i\">
<li>
relief damper or relief fan control.
relief damper or relief fan control.
See
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Reliefs\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Reliefs</a>
for a description.
</li>
<li>
return fan control with airflow tracking, or with direct building pressure control.
return fan control with airflow tracking, or with direct building pressure control.
See
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.ReturnFan\">
Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.ReturnFan</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ annotation (
Documentation(info="<html>
<p>
This sequence outputs the system reset requests for multiple zone air handling unit. The
implementation is according to the Section 5.16.16 of ASHRAE Guideline 36, May 2020.
implementation is according to the Section 5.16.16 of ASHRAE Guideline 36, May 2020.
</p>
<h4>Chilled water reset request <code>yChiWatResReq</code></h4>
<ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1263,8 +1263,7 @@ equation
annotation (Dialog(enable=have_frePro),
defaultComponentName="conVAV",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-200,-400},{200,400}}),
graphics={
Rectangle(
graphics={Rectangle(
extent={{-200,-400},{200,400}},
lineColor={0,0,127},
fillColor={255,255,255},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ annotation (
Documentation(info="<html>
<p>
This sequence outputs the system reset requests for single zone air handling unit. The
implementation is according to the Section 5.18.15 of ASHRAE Guideline 36, May 2020.
implementation is according to the Section 5.18.15 of ASHRAE Guideline 36, May 2020.
</p>
<h4>chilled water reset request <code>yChiWatResReq</code></h4>
<ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ model Controller "Validation of the top-level controller"
final eneStd=Buildings.Controls.OBC.ASHRAE.G36.Types.EnergyStandard.ASHRAE90_1,

final venStd=Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandard.ASHRAE62_1,

final ecoHigLimCon=Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulb,

final ashCliZon=Buildings.Controls.OBC.ASHRAE.G36.Types.ASHRAEClimateZone.Zone_1A,
Expand Down
12 changes: 6 additions & 6 deletions Buildings/Controls/OBC/ASHRAE/G36/Generic/TrimAndRespond.mo
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ on request number"),
textString="Optional hold of the loop output")}),
Documentation(info="<html>
<p>
This block implements the trim and respond logic according to Section 5.1.14.3
This block implements the trim and respond logic according to Section 5.1.14.3
and 5.1.14.4 of ASHRAE Guideline 36, May 2020.
</p>
<p>
Expand Down Expand Up @@ -441,25 +441,25 @@ In other words, every time step <code>samplePeriod</code>:
<p>
Optionally, if the parameter <code>have_hol</code> is set to true, an additional
input signal <code>uHol</code> allows for holding the trim and respond loop output
at a fixed value for the longer of the time the input <code>uHol</code> remains true
at a fixed value for the longer of the time the input <code>uHol</code> remains true
and the duration specified by the parameter <code>dtHol</code>.
When <code>uHol</code> switches back to false, the hold is released and resetting
continues from the previously held value (without reinitializing to <code>iniSet</code>
or going through a delay time of <code>delTim</code>).
or going through a delay time of <code>delTim</code>).
</p>
<p>
This is typically used in control sequences to freeze the reset logic during the plant
staging process.
Consider for example the following specification:<br/>
\"When a plant stage change is initiated, the reset logic shall be disabled and value
fixed at its last value for the longer of <i>15</i> minutes and the time it takes
fixed at its last value for the longer of <i>15</i> minutes and the time it takes
for the plant to successfully stage.\"<br/>
Using this block with <code>have_hol=true</code> and <code>dtHol=15*60</code>
Using this block with <code>have_hol=true</code> and <code>dtHol=15*60</code>
yields the following sequence of events.
</p>
<ul>
<li>0:00 - Stage change is initiated. T&amp;R loop output is at <i>50&nbsp;%</i>.</li>
<li>0:12 - Stage change is completed. T&amp;R loop output remains at <i>50&nbsp;%</i>
<li>0:12 - Stage change is completed. T&amp;R loop output remains at <i>50&nbsp;%</i>
since <i>&lt;&nbsp;15&nbsp;</i>minutes have elapsed.</li>
<li>0:15 - T&amp;R is released and continues resetting from <i>50&nbsp;%</i>.</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
within Buildings.Controls.OBC.ASHRAE.G36.Plants.Boilers.BypassValve;
block BypassValvePosition
"Sequence for controlling minimum flow bypass valve position"

parameter Integer nPum = 2
"Number of pumps";

parameter Buildings.Controls.OBC.CDL.Types.SimpleController controllerType= Buildings.Controls.OBC.CDL.Types.SimpleController.PI
"Type of controller";

parameter Real k(
final min=0,
final unit="1",
displayUnit="1") = 1
"Gain of controller";

parameter Real Ti(
final min=0,
final unit="s",
displayUnit="s",
final quantity="time") = 0.5
"Time constant of integrator block";

parameter Real Td(
final min=0,
final unit="s",
displayUnit="s",
final quantity="time") = 0.1
"Time constant of derivative block";

Buildings.Controls.OBC.CDL.Interfaces.BooleanInput uPumSta[nPum]
"Input signals indicating pump statuses"
annotation (Placement(transformation(extent={{-140,-20},{-100,20}}),
iconTransformation(extent={{-140,-40},{-100,0}})));

Buildings.Controls.OBC.CDL.Interfaces.RealInput VHotWat_flow(
final unit="m3/s",
displayUnit="m3/s",
final quantity="VolumeFlowRate")
"Measured hot-water flow-rate through primary circuit"
annotation (Placement(transformation(extent={{-140,20},{-100,60}}),
iconTransformation(extent={{-140,0},{-100,40}})));

Buildings.Controls.OBC.CDL.Interfaces.RealInput VHotWatMinSet_flow(
final unit="m3/s",
displayUnit="m3/s",
final quantity="VolumeFlowRate")
"Calculated hot water minimum flow setpoint through boilers"
annotation (Placement(transformation(extent={{-140,60},{-100,100}}),
iconTransformation(extent={{-140,40},{-100,80}})));

Buildings.Controls.OBC.CDL.Interfaces.RealInput uMinBypValPos(
final unit="1",
displayUnit="1",
final min=0)
"Minimum bypass valve position for condensation control in non-condensing boilers"
annotation (Placement(transformation(extent={{-140,-80},{-100,-40}}),
iconTransformation(extent={{-140,-80},{-100,-40}})));

Buildings.Controls.OBC.CDL.Interfaces.RealOutput yBypValPos(
final unit="1",
displayUnit="1",
final min=0)
"Bypass valve opening position"
annotation (Placement(transformation(extent={{100,-50},{140,-10}}),
iconTransformation(extent={{100,-20},{140,20}})));

protected
Buildings.Controls.OBC.CDL.Reals.Subtract sub2
"Difference between measured flowrate and minimum flow setpoint"
annotation (Placement(transformation(extent={{-70,30},{-50,50}})));

Buildings.Controls.OBC.CDL.Logical.MultiOr mulOr(
final nin=nPum)
"Block to detect if any of the pumps are proved ON"
annotation (Placement(transformation(extent={{-70,-10},{-50,10}})));

Buildings.Controls.OBC.CDL.Reals.Divide div
"Normalize measured hot water flowrate"
annotation (Placement(transformation(extent={{-20,30},{0,50}})));

Buildings.Controls.OBC.CDL.Reals.Sources.Constant con(
final k=0)
"Constant Real source"
annotation (Placement(transformation(extent={{-20,60},{0,80}})));

Buildings.Controls.OBC.CDL.Reals.Max max
"Ensure bypass valve position is greater than lower limit for condensation control"
annotation (Placement(transformation(extent={{70,-40},{90,-20}})));

Buildings.Controls.OBC.CDL.Reals.AddParameter addPar(
final p=1e-6)
"Prevent division by zero"
annotation (Placement(transformation(extent={{-70,70},{-50,90}})));

Buildings.Controls.OBC.CDL.Reals.PIDWithReset conPID(
final controllerType=controllerType,
final k=k,
final Ti=Ti,
final Td=Td,
final yMax=1,
final yMin=0,
xi_start=1,
reverseActing=false)
"PID loop to regulate flow through primary loop using bypass valve"
annotation (Placement(transformation(extent={{20,60},{40,80}})));

Buildings.Controls.OBC.CDL.Logical.Edge edg
"Reset PID loop when it is activated"
annotation (Placement(transformation(extent={{-20,-10},{0,10}})));

equation

connect(mulOr.u[1:nPum], uPumSta) annotation (Line(points={{-72,0},{-120,0}},
color={255,0,255}));

connect(uMinBypValPos, max.u2) annotation (Line(points={{-120,-60},{50,-60},{50,
-36},{68,-36}}, color={0,0,127}));
connect(max.y, yBypValPos)
annotation (Line(points={{92,-30},{120,-30}}, color={0,0,127}));
connect(VHotWatMinSet_flow, addPar.u)
annotation (Line(points={{-120,80},{-72,80}}, color={0,0,127}));
connect(addPar.y, div.u2) annotation (Line(points={{-48,80},{-40,80},{-40,34},
{-22,34}}, color={0,0,127}));
connect(con.y, conPID.u_s)
annotation (Line(points={{2,70},{18,70}}, color={0,0,127}));
connect(div.y, conPID.u_m)
annotation (Line(points={{2,40},{30,40},{30,58}}, color={0,0,127}));
connect(mulOr.y, edg.u) annotation (Line(points={{-48,0},{-22,0}},
color={255,0,255}));
connect(edg.y, conPID.trigger)
annotation (Line(points={{2,0},{24,0},{24,58}}, color={255,0,255}));

connect(conPID.y, max.u1) annotation (Line(points={{42,70},{50,70},{50,-24},{68,
-24}}, color={0,0,127}));
connect(sub2.y, div.u1) annotation (Line(points={{-48,40},{-28,40},{-28,46},{-22,
46}}, color={0,0,127}));
connect(VHotWatMinSet_flow,sub2. u1) annotation (Line(points={{-120,80},{-80,80},
{-80,46},{-72,46}}, color={0,0,127}));
connect(VHotWat_flow,sub2. u2) annotation (Line(points={{-120,40},{-80,40},{-80,
34},{-72,34}}, color={0,0,127}));
annotation (defaultComponentName="bypValPos",
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}),
graphics={Rectangle(
extent={{-100,100},{100,-100}},
lineColor={28,108,200},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Text(
extent={{-70,20},{70,-20}},
textColor={0,0,0},
fillColor={255,255,255},
fillPattern=FillPattern.None,
textString="bypValPos"),
Text(
extent={{-100,146},{100,108}},
textColor={0,0,255},
textString="%name")}),
Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}})),
Documentation(info="<html>
<p>
Control sequence for bypass circuit valve position <code>yBypValPos</code>
for boiler plant loop.
</p>
<ul>
<li>
The bypass valve is enabled when any of the hot-water supply pumps are proven on
<code>uPumSta = true</code>, and disabled otherwise.
</li>
<li>
When enabled, a PID control loop modulates the bypass valve to maintain
a primary circuit flow rate of <code>VHotWatMinSet_flow</code>, calculated in class
<a href=\"modelica://Buildings.Controls.OBC.ASHRAE.G36.Plants.Boilers.SetPoints.MinimumFlowSetpoint\">
Buildings.Controls.OBC.ASHRAE.G36.Plants.Boilers.SetPoints.MinimumFlowSetpoint</a>.
</li>
<li>
When all the pumps are not proved on <code>uPumSta = false</code>, the valve
is fully opened.
</li>
<li>
When a non-condensing boiler is enabled, the bypass valve position is set to the
higher value between the signal generated by the PID loop, and the minimum valve
position for condensation control <code>uMinBypValPos</code>.
</li>
</ul>
</html>", revisions="<html>
<ul>
<li>
August 17, 2020, by Karthik Devaprasad:<br/>
First implementation.
</li>
</ul>
</html>"));
end BypassValvePosition;
Loading