Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
431 commits
Select commit Hold shift + click to select a range
63b6254
Merge pull request #1357 from open-ideas/issue1356_gitignore
louisher May 30, 2024
88a1b2b
Merge pull request #1359 from open-ideas/issue1272_ViewFactor
louisher May 31, 2024
e6ddb84
Merge branch 'master' into issue1292_temperatureSlabOnGround
lucasverleyen May 31, 2024
d920f61
change explicit array to fill() function
lucasverleyen May 31, 2024
8235ed5
Update github-actions.yml
louisher Jun 3, 2024
d555214
Update github-actions.yml
louisher Jun 3, 2024
60e1d8a
Merge branch 'master' into issue1287_DHWmodel
lucasverleyen Jun 3, 2024
a2bc170
include steady state T sensor in partial model
lucasverleyen Jun 3, 2024
f00feab
update examples accordingly
lucasverleyen Jun 3, 2024
6a39f5a
update unit test mos files to new names
lucasverleyen Jun 3, 2024
1cb5a4a
update reference results
lucasverleyen Jun 3, 2024
27c8d86
change tony to blizz
lucasverleyen Jun 3, 2024
8147dca
limit line length for all lines (was only done for first part of the …
lucasverleyen Jun 3, 2024
a2e89bc
indentations and line lengths
lucasverleyen Jun 3, 2024
aba9a79
naming convention
lucasverleyen Jun 3, 2024
387d286
update naming
lucasverleyen Jun 3, 2024
ded44fe
Update github-actions.yml
louisher Jun 7, 2024
6258a78
Merge pull request #1363 from open-ideas/issue1362_updateDocumentation
louisher Jun 10, 2024
98bdafd
Merge pull request #1358 from open-ideas/issue1292_temperatureSlabOnG…
louisher Jun 10, 2024
af1c009
Merge remote-tracking branch 'origin/master' into issue1287_DHWmodel
lucasverleyen Jun 10, 2024
6ec6057
remove limiter block
lucasverleyen Jun 12, 2024
1f45fb3
add assert statement to screen model
lucasverleyen Jun 19, 2024
9110edf
remove assert from screen model
lucasverleyen Jul 1, 2024
ee7e2fc
add assert to partial model
lucasverleyen Jul 1, 2024
797c6e5
fix minor documentation issue
lucasverleyen Jul 1, 2024
9b41d10
add doc string to ctrl internal
lucasverleyen Jul 1, 2024
1273161
add beta max
lucasverleyen Jul 1, 2024
0894fd5
use new ctrl to beta internal input to linearly map the ctrl input on…
lucasverleyen Jul 1, 2024
11ec5e2
add documentation
lucasverleyen Jul 1, 2024
7a60006
update horizontal fins example accordingly
lucasverleyen Jul 1, 2024
5eae9d3
update reference results
lucasverleyen Jul 1, 2024
dced785
correction
lucasverleyen Jul 1, 2024
258d1a5
corrections documentation
lucasverleyen Jul 1, 2024
ca79103
improve default temperature declarations
lucasverleyen Jul 1, 2024
f640dea
remove medium declaration
lucasverleyen Jul 1, 2024
76c8422
change naming
lucasverleyen Jul 1, 2024
a4f19b0
specify occupants
lucasverleyen Jul 1, 2024
7b8ca79
flip icons
lucasverleyen Jul 1, 2024
13cab1f
Remove dispLim=min(1,max(0,disp_internal)) as disp_internal is automa…
jelgerjansen Jul 5, 2024
7a0f921
Define beta_max as a protected parameter
jelgerjansen Jul 5, 2024
8ce4e6b
Update revision history
jelgerjansen Jul 5, 2024
98efc3b
Merge pull request #1364 from open-ideas/issue1290_screenLimiter
jelgerjansen Jul 5, 2024
3575f5f
update script
lucasverleyen Jul 24, 2024
333a29e
remove io package as it is not used
lucasverleyen Jul 24, 2024
0fc18c5
update script
lucasverleyen Jul 24, 2024
f62fd17
remove io package as it is not used
lucasverleyen Jul 24, 2024
8b0a799
improve icon
lucasverleyen Jul 25, 2024
e14bcb9
add final prefixes
lucasverleyen Jul 25, 2024
fdb05c3
take fluid sources from IDEAS library (and not from MSL)
lucasverleyen Jul 25, 2024
1ce018c
change mFloDis into mFloDisCom
lucasverleyen Jul 25, 2024
4869a23
line formatting
lucasverleyen Jul 25, 2024
b61fd7a
switch order in equation
lucasverleyen Jul 25, 2024
1c66d8f
change name
lucasverleyen Jul 25, 2024
ad73c4b
change name
lucasverleyen Jul 25, 2024
e1437da
Replace Ctrl by Ctrl_internal in the screen model to avoid warnings o…
jelgerjansen Jul 26, 2024
c0d61bb
update docstring
lucasverleyen Jul 26, 2024
975eb06
Remove Shading from Shadingtype
jelgerjansen Jul 29, 2024
2f9230a
Merge pull request #1370 from open-ideas/issue1368_Shadingtype
lucasverleyen Jul 29, 2024
1b6fe41
Merge branch 'master' into issue1367_ShadingConditional
lucasverleyen Jul 29, 2024
8bf4bdf
Merge pull request #1366 from open-ideas/issue1365_updateBuildingsPy
louisher Aug 2, 2024
06435ff
Merge pull request #1369 from open-ideas/issue1367_ShadingConditional
jelgerjansen Aug 29, 2024
5f99354
Update CrackOrOperableDoor.mo
kldjonge Aug 30, 2024
c18d9ae
Test model for Large horizontal opening
kldjonge Aug 30, 2024
c39d385
Merge branch 'master' into project_itz_fixes_v2_kdj
kldjonge Aug 30, 2024
2836255
remove old code
lucasverleyen Sep 3, 2024
6931b6d
update output string
lucasverleyen Sep 6, 2024
43861ec
Merge pull request #1372 from open-ideas/issue1371_script
jelgerjansen Sep 9, 2024
3aee36a
Use smooth expression for hot water mass flow rate and add documentat…
jelgerjansen Sep 10, 2024
4339d8a
Add missing documentation for components and renamed "domestichotwate…
jelgerjansen Sep 10, 2024
1e774bd
Update scripts and add to annotation as a Dymola command
jelgerjansen Sep 10, 2024
eb38c48
Update CrackOrOperableDoor.mo
kldjonge Sep 20, 2024
6983615
Changed Validation model
kldjonge Sep 20, 2024
0abbeb0
Moved Airflowboxmodel to script and added script
kldjonge Sep 20, 2024
4f54203
Moved AirflowBoxModel
kldjonge Sep 23, 2024
55c57dc
only override dh toplevel
kldjonge Sep 27, 2024
7ee0503
Update CrackOrOperableDoor.mo
kldjonge Sep 27, 2024
d7fcac3
Merge pull request #1376 from kldjonge/project_itz_fixes_v2_kdj
jelgerjansen Sep 27, 2024
c688108
Fix typo in CrackOrOperableDoor
jelgerjansen Sep 27, 2024
c5416a5
Merge branch 'stack_effect_project_itz_master' into project_itz_fixes_v2
jelgerjansen Sep 27, 2024
b65916b
Revert "Fix typo in CrackOrOperableDoor"
jelgerjansen Sep 27, 2024
6fae995
Fix typo in CrackOrOperableDoor without Dymola changing unaffected lines
jelgerjansen Sep 27, 2024
f0519e1
Put assignment of the plot command on one line (for unit testing).
jelgerjansen Sep 27, 2024
0148f61
n50tests changed rho_default to 1.2041
kldjonge Oct 1, 2024
0f39646
Update CrackOrOperableDoor.mo
kldjonge Oct 1, 2024
d264910
unprotect dh in baseclasses and make final again in higher levels
kldjonge Oct 1, 2024
1ccddc5
Revert "unprotect dh in baseclasses and make final again in higher le…
kldjonge Oct 1, 2024
410cd0c
unprotect dh, move to advanced and hideresults
kldjonge Oct 1, 2024
570cbe5
Overridable dh in DoorDiscretized.mo
kldjonge Oct 4, 2024
cd9480b
Revert replacement of definition MMBul using Medium.molarMass.
jelgerjansen Oct 11, 2024
4b71cb4
Replace the constant density of 1.2041 by rho_default
jelgerjansen Oct 11, 2024
4c08c44
Add an n50TestTwoPort implementation including a mos file for unit te…
jelgerjansen Oct 11, 2024
30ce3c8
Update ZoneExample.mo
kldjonge Oct 14, 2024
8b8e60a
Add rho_default in stead if 1.2041
kldjonge Oct 14, 2024
a958c8f
Delete unused (and confusing) sim.rho_default=1.2
kldjonge Oct 14, 2024
d9ab9ac
Merge branch 'master' into issue1287_DHWmodel
lucasverleyen Oct 16, 2024
b28d869
improve documentation
lucasverleyen Oct 16, 2024
e70cbe1
add discomfort calculation
lucasverleyen Oct 16, 2024
115dfa1
update reference results
lucasverleyen Oct 16, 2024
de75e35
Merge pull request #1355 from open-ideas/issue1287_DHWmodel
jelgerjansen Oct 17, 2024
98b7a13
Updated and new n50Test models
kldjonge Oct 18, 2024
dbe8292
Update with modelica-ibpsa 8ed71caee72b911a1d9b5a76e6cb7ed809875e1e
lucasverleyen Oct 22, 2024
c6885d1
changed reference results (should not be pushed to ideas)
lucasverleyen Oct 22, 2024
31611d9
Merge branch '894_merge' into master_ibpsa_22Oct2024
lucasverleyen Oct 22, 2024
1b10758
update reference results IDEAS.Airflow
lucasverleyen Oct 22, 2024
e58c8c1
update reference results IDEAS.Buildings.Components
lucasverleyen Oct 22, 2024
54978d8
remove use_inputFilter and replace by use_strokeTime or use_riseTime
lucasverleyen Oct 22, 2024
a919138
change one more use_inputFilter
lucasverleyen Oct 22, 2024
dcb27e4
remove failing unit tests (temporary)
lucasverleyen Oct 23, 2024
a34c2d8
change use_inputFilter to use_riseTime
lucasverleyen Oct 23, 2024
2a0f72c
change use_inputFilter to use_riseTime
lucasverleyen Oct 23, 2024
ffa4779
update reference results IDEAS.Buildings.Validation
lucasverleyen Oct 23, 2024
94caf65
change use_inputFilter to use_riseTime
lucasverleyen Oct 23, 2024
cf34b02
change use_inputFilter to use_riseTime or use_strokeTime
lucasverleyen Oct 23, 2024
121f1c1
update TwoWayTRV valve model with new use_strokeTime and strokeTime p…
lucasverleyen Oct 23, 2024
0981725
update reference results IDEAS.Fluid.Actuators
lucasverleyen Oct 23, 2024
0b4d726
change dp_nominal = 0 Pa to dp_nominal = 1 Pa to avoid division by ze…
lucasverleyen Oct 23, 2024
9953fc5
update reference results IDEAS.Fluid.Examples
lucasverleyen Oct 23, 2024
89224f4
update reference results IDEAS.Fluid.FixedResitances
lucasverleyen Oct 23, 2024
f1491f4
update reference results IDEAS.Fluid.HeatExchangers
lucasverleyen Oct 23, 2024
0275617
set dp_nominal = 1 bar instead of 0
lucasverleyen Oct 23, 2024
4de3730
update reference results IDEAS.Fluid.HeatExchangers
lucasverleyen Oct 23, 2024
fcee46e
remove failing unit tests IDEAS.Fluid.HeatPumps.Validation (temporary)
lucasverleyen Oct 23, 2024
f600112
change use_inputFilter to use_riseTime
lucasverleyen Oct 23, 2024
861927f
update reference results IDEAS.Fluid.Movers
lucasverleyen Oct 23, 2024
8aeaa39
remove failing unit tests IDEAS.Utilities (temporary)
lucasverleyen Oct 23, 2024
caf9619
change use_inputFilter to use_riseTime
lucasverleyen Oct 24, 2024
fa91288
add "each" to array of components
lucasverleyen Oct 24, 2024
0455d3b
change use_inputFilter to use_strokeTime
lucasverleyen Oct 24, 2024
36440ce
update .gitignore to allow new txt files in the Data folder
lucasverleyen Oct 24, 2024
a62aeb7
update gitignore to include subfolders
lucasverleyen Oct 24, 2024
ef47c52
correct path in gitignore
lucasverleyen Oct 24, 2024
5a07d74
add removed files
lucasverleyen Oct 24, 2024
0b67573
add removed unit test
lucasverleyen Oct 24, 2024
a2fd3fb
change paths for consistency
lucasverleyen Oct 24, 2024
b2f1ce5
add unit tests for IDEAS.Utilities (all have been added again)
lucasverleyen Oct 24, 2024
17b5286
update fan record PPD12
lucasverleyen Oct 24, 2024
84899f8
update fan record Adsolair
lucasverleyen Oct 24, 2024
180e139
update Adsolair58 model with new pump record parameters
lucasverleyen Oct 24, 2024
54b1ef1
add removed unit tests IDEAS.Airflow.AHU again
lucasverleyen Oct 24, 2024
37fa5fc
set riseTime to true instead of false (has been modified unintentiona…
lucasverleyen Oct 24, 2024
588a052
set strokeTime of TRV valve back to 1200 s
lucasverleyen Oct 24, 2024
b779b5c
remove unitTests IDEAS.Airflow.AHU again (temporary)
lucasverleyen Oct 24, 2024
2904826
update reference results ppd12
lucasverleyen Oct 24, 2024
8e50518
change inputFilter to riseTime
lucasverleyen Oct 24, 2024
b0a0232
update reference results IDEAS.Examples.Tutorial
lucasverleyen Oct 24, 2024
39a1415
update reference results IDEAS.Examples.TwinHouses
lucasverleyen Oct 25, 2024
a8d66d7
add previously removed unit tests again (IDEAS.Fluid.HeatPumps)
lucasverleyen Oct 25, 2024
1309909
Revert date of unchanged reference results
lucasverleyen Oct 25, 2024
33156c6
Merge pull request #1386 from kldjonge/project_itz_fixes_v2_kdj
jelgerjansen Oct 28, 2024
1e9ddf6
add IDEAS.Airflow.AHU unit tests again
lucasverleyen Oct 28, 2024
35e487a
Define etaHydMet and etaMotMet for pump/fan records such that flow ra…
jelgerjansen Oct 28, 2024
8567048
Correct use_strokeTime=true
jelgerjansen Oct 28, 2024
6880a16
Use MotorEfficiencyMethod for etaMotMet
jelgerjansen Oct 28, 2024
aacfa72
Revert all commits with reference results updates (state: 22 Oct, com…
lucasverleyen Oct 28, 2024
9176856
update reference results IDEAS.Airflow (checked, see pull request)
lucasverleyen Oct 29, 2024
e2a9dc6
update reference results IDEAS.Buildings.Components (checked, see pul…
lucasverleyen Oct 29, 2024
5a84148
.mos files for n50Test2TwoPort and n50Test3TwoPort
kldjonge Oct 29, 2024
4fb500c
update reference results IDEAS.Buildings.Validation (checked, see pul…
lucasverleyen Oct 29, 2024
ab7665d
update reference results IDEAS.Buildings.Validation (temporary, see p…
lucasverleyen Oct 29, 2024
4505dcf
update reference results IDEAS.Fluid.Actuators (checked, see pull req…
lucasverleyen Oct 29, 2024
7ae9c9d
update reference results IDEAS.Fluid.Examples (checked, see pull requ…
lucasverleyen Oct 29, 2024
3acca1e
update reference results IDEAS.Fluid.FixedResitances (checked, see pu…
lucasverleyen Oct 29, 2024
afaf0f0
update reference results IDEAS.Fluid.HeatExchangers (checked, see pul…
lucasverleyen Oct 30, 2024
5b40d29
update reference results IDEAS.Fluid.HeatExchangers (checked, see pul…
lucasverleyen Oct 30, 2024
025891c
update reference results IDEAS.Fluid.Movers (checked, see pull request)
lucasverleyen Oct 30, 2024
1d420dd
Merge remote-tracking branch 'klaas/project_itz_fixes_v2_kdj' into pr…
jelgerjansen Oct 30, 2024
92cd692
Use initial equation for the zone humidity in n50Test2
jelgerjansen Oct 30, 2024
f31d117
Comment comparison as no CONTAM data for 2-port available yet and use…
jelgerjansen Oct 30, 2024
f16063f
update reference results IDEAS.Examples.PPD12 (checked, see pull requ…
lucasverleyen Oct 30, 2024
63e215f
Moved TwoStoreyBoxes model to examples
kldjonge Oct 30, 2024
62efce8
Revision notes
kldjonge Oct 30, 2024
fc42f5e
update reference results IDEAS.Examples.Tutorial (checked, see pull r…
lucasverleyen Oct 30, 2024
786a32c
Update TwoStoreyBoxes for direct constant Tair
kldjonge Oct 30, 2024
9074a5f
Update AirflowBoxModel for direct constant Tair and moved around some…
kldjonge Oct 30, 2024
02ad04c
Deleted Specialized.Air.PerfectGas from twostoreyboxes
kldjonge Oct 30, 2024
cb99283
update reference results IDEAS.Examples.TwinHouses (checked, see pull…
lucasverleyen Oct 30, 2024
d24ca12
update reference results IDEAS.Examples.TwinHouses (temporary, see pu…
lucasverleyen Oct 30, 2024
37cb732
Update reference results (see PR1379 for changes)
jelgerjansen Oct 30, 2024
94c09e3
.mos file for TwoStoreyBoxes
kldjonge Oct 30, 2024
29b8564
update revision histories
lucasverleyen Oct 30, 2024
afb84b3
Updates to LargeHorizontalOpening model
kldjonge Oct 30, 2024
cae81c7
.mos for LargeHorizontalOpening model
kldjonge Oct 30, 2024
ce5b8d1
Renamed reversibldensitycolumn to MediumColumnReversible
kldjonge Oct 30, 2024
ce3224c
Changed description of crack or operable door
kldjonge Oct 30, 2024
3ad0a7e
Merge branch 'project_itz_fixes_v2' into project_itz_fixes_v2_kdj
kldjonge Oct 30, 2024
71a236a
Merge pull request #1387 from kldjonge/project_itz_fixes_v2_kdj
jelgerjansen Oct 30, 2024
25dc506
Use initial equation for X in n50Test to avoid 'unspecified initial c…
jelgerjansen Oct 30, 2024
8191b5a
Add reference results for LargeHorizontalOpening
jelgerjansen Oct 30, 2024
47b611d
Use initial equation for X to avoid 'unspecified initial condition' w…
jelgerjansen Oct 31, 2024
a39f56d
Fix name LargeHorizontalOpening and set massDynamics to FixedInitial …
jelgerjansen Oct 31, 2024
1b5599f
Update reference results
jelgerjansen Oct 31, 2024
c038ebf
Fix typo in mos file
jelgerjansen Oct 31, 2024
26545c6
Constant Tair but with Dynamics.FixedInitial in zone for AirflowBoxModel
kldjonge Oct 31, 2024
4f303e8
Constant Tair but with Dynamics.FixedInitial in zone for TwoStoreyBoxes
kldjonge Oct 31, 2024
f708fe7
Merge pull request #1388 from kldjonge/project_itz_fixes_v2_kdj
jelgerjansen Nov 4, 2024
b5cfb66
Update translation statistics
jelgerjansen Nov 4, 2024
6f55c89
Update energyDynamics in SingleZoneResidentialHydronicHeatPump to avo…
jelgerjansen Nov 4, 2024
0dc5daf
Asserts in internal wall
kldjonge Nov 5, 2024
eea246a
Add missing unit tests and order yml file
jelgerjansen Nov 6, 2024
f7a0924
Update translation statistics and reference results for IDEAS.Electri…
jelgerjansen Nov 6, 2024
67426be
Change Buildings to IDEAS reference in IDEAS.Examples package.mo file
jelgerjansen Nov 6, 2024
e29e99d
Don't include IDEAS.Fluid.FMI.Examples in unit tests
jelgerjansen Nov 6, 2024
ac5b726
Fix syntax
jelgerjansen Nov 6, 2024
7bcd677
Fix typo
jelgerjansen Nov 6, 2024
bbca09c
Update translation statistics IDEAS.Fluid.SolarCollectors.Examples
jelgerjansen Nov 6, 2024
5c0f182
Revert "Asserts in internal wall"
kldjonge Nov 6, 2024
f46540d
Remove IDEAS.Fluid.Production from unit tests (non existing)
jelgerjansen Nov 7, 2024
414ba0e
Fix typo
jelgerjansen Nov 7, 2024
f3cc274
Use default nominal pressure for movers instead of unrealistic value …
jelgerjansen Nov 7, 2024
82957bb
Merge pull request #1383 from open-ideas/master_ibpsa_22Oct2024
jelgerjansen Nov 7, 2024
72def3b
Use Modelica.Units.SI.TemperatureDifference for dT_nominal
jelgerjansen Nov 7, 2024
e4dde2f
move files to correct location
lucasverleyen Nov 11, 2024
064f02e
update file paths in examples
lucasverleyen Nov 11, 2024
c513081
correct error with medium
lucasverleyen Nov 11, 2024
e8d8cef
Add revision note and fix format of other revision notes.
jelgerjansen Nov 12, 2024
81b860a
move files to correct location
lucasverleyen Nov 13, 2024
364f331
remove default string
lucasverleyen Nov 13, 2024
0169e97
update paths and add string (since no default anymore)
lucasverleyen Nov 13, 2024
dc6ddeb
Merge pull request #1393 from open-ideas/issue1384_moveFile
jelgerjansen Nov 13, 2024
e278596
Merge pull request #1394 from open-ideas/issue1375_errorMediumRectang…
lucasverleyen Nov 13, 2024
7b40f27
Merge pull request #1392 from open-ideas/issue1390_Thermostatic3WayValve
jelgerjansen Nov 26, 2024
fb58303
Merge remote-tracking branch master into project_itz_fixes_v2
jelgerjansen Dec 3, 2024
ab80d8f
Merge remote-tracking branch master into project_itz_fixes_v2 (issue …
jelgerjansen Dec 4, 2024
daa3304
PPD12 package order update
kldjonge Dec 9, 2024
7c561ba
Delete obsolete whitespace
kldjonge Dec 9, 2024
bd8df1a
Delete obsolete whitespace
kldjonge Dec 9, 2024
b8522f4
Documentation for s_co2
kldjonge Dec 9, 2024
deaf3c0
Fixed revision history
kldjonge Dec 9, 2024
dd81b8b
Delete obsolete whitespace
kldjonge Dec 9, 2024
4348241
Obsolete line in revision history
kldjonge Dec 9, 2024
08c1e55
Aligned parameter with others
kldjonge Dec 9, 2024
f49c167
Deleted obsolete whitespace, change to documentation
kldjonge Dec 9, 2024
4360245
Deleted obsolete whitespace
kldjonge Dec 9, 2024
7208eea
Deleted obsolete whitespace
kldjonge Dec 9, 2024
38c081e
Change to revision note of DoorDiscretized
kldjonge Dec 9, 2024
0a7b8a5
Delete obsolete whitespace and use Modelica.Units in CrackOrOperableDoor
kldjonge Dec 9, 2024
541aaa6
Delete obsolete whitespace
kldjonge Dec 9, 2024
a9944b5
Use of Modelica.Units and change to Kelvin units in LargeHorOpening
kldjonge Dec 9, 2024
4cbea23
Description for box models and some cleaning up
kldjonge Dec 9, 2024
dcb03cd
(Better) parameter descriptionsfor addmWat and addCFlow
kldjonge Dec 9, 2024
841a907
Revert "Merge remote-tracking branch master into project_itz_fixes_v2…
jelgerjansen Dec 9, 2024
c6ec2e2
Revert "Merge remote-tracking branch master into project_itz_fixes_v2"
jelgerjansen Dec 9, 2024
28ea57b
Merge branch 'project_itz_fixes_v2_kdj' into project_itz_fixes_v2
jelgerjansen Dec 9, 2024
49f85f4
Fix problems with overriding final modifier of units
jelgerjansen Dec 9, 2024
9d66189
Reapply "Merge remote-tracking branch master into project_itz_fixes_v2"
jelgerjansen Dec 9, 2024
dbade3c
Reapply "Merge remote-tracking branch master into project_itz_fixes_v…
jelgerjansen Dec 9, 2024
2f5e108
Revert "Reapply "Merge remote-tracking branch master into project_itz…
jelgerjansen Dec 10, 2024
1c5f7d6
Revert "Reapply "Merge remote-tracking branch master into project_itz…
jelgerjansen Dec 10, 2024
764b1a0
Fix revision notes
jelgerjansen Dec 10, 2024
2799d33
revision note
Mathadon Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions IDEAS/BoundaryConditions/Interfaces/PartialSimInfoManager.mo
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ partial model PartialSimInfoManager
annotation (Dialog(group="Wind"));
parameter Real Cs_coeff = (A0*A0)*((1/Hwind)^(2*a)) "Multiplication factor for Habs"
annotation(Dialog(group="Wind"));
parameter Modelica.Units.SI.Length Hpres=1 "Height above ground of meteorological ambient pressure measurement"
annotation(Dialog(group="Wind"));
constant Modelica.Units.SI.Density rho_default = 1.2 "Default air density"
annotation(Dialog(group="Wind"));

Expand Down
19 changes: 10 additions & 9 deletions IDEAS/Buildings/Components/Interfaces/PartialSurface.mo
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ partial model PartialSurface "Partial model for building envelope component"
final parameter Real q50_internal(unit="m3/(h.m2)",fixed=false)
"Surface air tightness";

final parameter Real hzone_a( fixed=false);//connected with propsbus in inital equation
final parameter Real hfloor_a( fixed=false);
parameter Real hVertical=if IDEAS.Utilities.Math.Functions.isAngle(inc,Modelica.Constants.pi) or IDEAS.Utilities.Math.Functions.isAngle(inc,0) then 0 else hzone_a "Vertical surface height, height of the surface projected to the vertical, 0 for floors and ceilings" annotation(Evaluate=true);
parameter Real hRef_a= if IDEAS.Utilities.Math.Functions.isAngle(inc,0) then hzone_a else 0 "Height above the zone floor at propsbus_a. Height where the surface starts. e.g. 0 for walls at floor level and floors. "
annotation(Evaluate=true);
final parameter Real Habs_surf=hfloor_a+hRef_a+(hVertical/2) "Absolute height of the middle of the surface, can be used to check the heights after initialisation";
final parameter Modelica.Units.SI.Length hzone_a( fixed=false);//connected with propsbus in inital equation
final parameter Modelica.Units.SI.Length hAbs_floor_a( fixed=false);
parameter Modelica.Units.SI.Length hVertical=if IDEAS.Utilities.Math.Functions.isAngle(inc,IDEAS.Types.Tilt.Floor) or IDEAS.Utilities.Math.Functions.isAngle(inc,IDEAS.Types.Tilt.Ceiling) then 0 else hzone_a "Vertical surface height, height of the surface projected to the vertical, 0 for floors and ceilings" annotation(Evaluate=true);
parameter Modelica.Units.SI.Length hRelSurfBot_a= if IDEAS.Utilities.Math.Functions.isAngle(inc,IDEAS.Types.Tilt.Ceiling) then hzone_a else 0 "Height between the lowest point of the surface (bottom) and the floor level of the zone connected at propsBus_a"annotation(Evaluate=true);
final parameter Modelica.Units.SI.Length Habs_surf=hAbs_floor_a+hRelSurfBot_a+(hVertical/2) "Absolute height of the middle of the surface, can be used to check the heights after initialisation";

IDEAS.Buildings.Components.Interfaces.ZoneBus propsBus_a(
redeclare final package Medium = Medium,
Expand Down Expand Up @@ -102,8 +101,10 @@ partial model PartialSurface "Partial model for building envelope component"
A_q50 = A,
q50=q50_internal,
redeclare package Medium = Medium,
h_a2 = -0.5*hzone_a + 0.75*hVertical + hRef_a,
h_b1 = -0.5*hzone_a + 0.25*hVertical + hRef_a,
h_a1=0.25*hVertical,
h_b2=- 0.25*hVertical,
h_a2 = 0.75*hVertical + hRelSurfBot_a,
h_b1 = 0.25*hVertical + hRelSurfBot_a,
interZonalAirFlowType = sim.interZonalAirFlowType) if add_door and sim.interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None annotation(
Placement(visible = true, transformation(origin = {30, -52}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Blocks.Sources.RealExpression AExp(y = A) "Area expression" annotation(
Expand Down Expand Up @@ -192,7 +193,7 @@ end Q50_parameterToConnector;
initial equation
q50_internal=if use_custom_q50 then custom_q50 else q50_zone.q50_zone;
hzone_a=propsBusInt.hzone;
hfloor_a=propsBusInt.hfloor;
hAbs_floor_a=propsBusInt.hfloor;
equation
connect(prescribedHeatFlowE.port, propsBusInt.E);
connect(Qgai.y,prescribedHeatFlowQgai. Q_flow);
Expand Down
4 changes: 2 additions & 2 deletions IDEAS/Buildings/Components/Interfaces/PartialZone.mo
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ model Setq50 "q50 computation for zones"
"custom assigned v50 value, else zero";

parameter Modelica.Units.SI.Length hZone "Zone height: distance between floor and ceiling";
parameter Modelica.Units.SI.Length hFloor = 0 "Absolute height of zone floor";
parameter Modelica.Units.SI.Length hFloor = 0 "Absolute height of zone floor. Relative to the height at which the atmospheric pressure is defined.";

Modelica.Blocks.Interfaces.RealInput v50_surf[nSurf]
annotation (Placement(transformation(extent={{-126,28},{-86,68}})));
Expand Down Expand Up @@ -703,4 +703,4 @@ Added view factor implementation.
Partial model that defines the main variables and connectors of a zone model.
</p>
</html>"));
end PartialZone;
end PartialZone;
4 changes: 2 additions & 2 deletions IDEAS/Buildings/Components/InternalWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ initial equation
hfloor_b = propsBus_b.hfloor;
equation
connect(constOne.y, crackOrOperableDoor.y);
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,0) and hfloor_a>hfloor_b, getInstanceName()+ "is a ceiling, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,Modelica.Constants.pi) and hfloor_a<hfloor_b, getInstanceName()+ "is a floor, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,0) and hAbs_floor_a>hfloor_b, getInstanceName()+ "is a ceiling, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
//assert(IDEAS.Utilities.Math.Functions.isAngle(inc,Modelica.Constants.pi) and hAbs_floor_a<hfloor_b, getInstanceName()+ "is a floor, but the floor of the zone at probsbus_b lies above the floor of zone at probsbus_a, this is probably a mistake",level=AssertionLevel.warning);
assert(hasCavity == false or IDEAS.Utilities.Math.Functions.isAngle(incInt, IDEAS.Types.Tilt.Wall), "In " + getInstanceName() + ": Cavities are only supported for vertical walls, but inc=" + String(incInt) + ". The model is not accurate.", level = AssertionLevel.warning);
connect(layMul.port_b, propsBus_b.surfRad) annotation(
Line(points = {{-10, 0}, {-18, 0}, {-18, 20.1}, {-100.1, 20.1}}, color = {191, 0, 0}, smooth = Smooth.None));
Expand Down
7 changes: 2 additions & 5 deletions IDEAS/Buildings/Components/OuterWall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ model OuterWall "Opaque building envelope construction"
setArea(A=A),
final nWin=1,
dT_nominal_a=-3,
QTra_design(fixed=false),
crackOrOperableDoor(
h_a1=(Habs - sim.Hpres) + 0.25*hVertical,
h_b2=(Habs - sim.Hpres) - 0.25*hVertical));
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 @@ -70,7 +67,7 @@ model OuterWall "Opaque building envelope construction"
parameter Real Cs=sim.Cs
"Wind speed modifier"
annotation (Dialog(enable=use_custom_Cs,tab="Airflow", group="Wind Pressure"));
final parameter Real Habs=hfloor_a + hRef_a + (hVertical/2)
final parameter Real Habs=hAbs_floor_a + hRelSurfBot_a + (hVertical/2)
"Absolute height of the center of the surface for correcting the wind speed, used in TwoPort implementation"
annotation (Dialog(tab="Airflow", group="Wind"));

Expand Down
26 changes: 16 additions & 10 deletions IDEAS/Buildings/Components/Window.mo
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ model Window "Multipane window"
linIntCon=true,
checkCoatings=glazing.checkLowPerformanceGlazing),
setArea(A=A*nWin),
hRef_a=if IDEAS.Utilities.Math.Functions.isAngle(inc, 0) then hzone_a else (hzone_a - hVertical)/2,
hVertical=if IDEAS.Utilities.Math.Functions.isAngle(inc, Modelica.Constants.pi) or IDEAS.Utilities.Math.Functions.isAngle(inc, 0) then 0 else hWin,
hRelSurfBot_a=if IDEAS.Utilities.Math.Functions.isAngle(inc, IDEAS.Types.Tilt.Ceiling) then hzone_a else (hzone_a - hVertical)/2,
hVertical=if IDEAS.Utilities.Math.Functions.isAngle(inc, IDEAS.Types.Tilt.Floor) or IDEAS.Utilities.Math.Functions.isAngle(inc, IDEAS.Types.Tilt.Ceiling) then 0 else hWin,
q50_zone(v50_surf=q50_internal*A),
crackOrOperableDoor(
openDoorOnePort=false,
h_a1=(Habs - sim.Hpres) + 0.25*hVertical,
h_b2=(Habs - sim.Hpres) - 0.25*hVertical,
useDoor = use_operable_window));
parameter Boolean linExtCon=sim.linExtCon
"= true, if exterior convective heat transfer should be linearised (uses average wind speed)"
Expand Down Expand Up @@ -110,7 +108,7 @@ model Window "Multipane window"
annotation (Dialog(enable=use_custom_Cs,tab="Airflow", group="Wind Pressure"));

final parameter Real Habs(fixed=false)
"Absolute height of boundary for correcting the wind speed"
"Absolute height at the middle of the window"
annotation (Dialog(tab="Airflow", group="Wind"));
parameter Boolean use_operable_window = false
"= true, to enable window control input"
Expand Down Expand Up @@ -147,7 +145,7 @@ model Window "Multipane window"
m_flow_nominal=m_flow_nominal,
use_y = use_trickle_vent_control)
if use_trickle_vent and sim.interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None
"Trickle vent"
"Trickle vent. Height assumed at the middle of the surface, i.e. at the reference pressure."
annotation (Placement(visible = true, transformation(origin = {0, -158}, extent = {{20, 88}, {40, 68}}, rotation = 0)));
replaceable
IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.SwWindowResponse
Expand Down Expand Up @@ -185,6 +183,8 @@ model Window "Multipane window"
Modelica.Blocks.Sources.RealExpression y_window_trunc(y = max(0, min(1, y_window_internal)))
"Truncated control signal" annotation (
Placement(visible = true, transformation(origin = {-10, -90}, extent = {{-10, 10}, {10, -10}}, rotation = 90)));
Airflow.Multizone.ReversibleDensityColumn col_trickle(redeclare package Medium = Medium, h=hVertical/2) if sim.interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts "Column for port trickle vent" annotation(
Placement(transformation(origin = {112, -40}, extent = {{50, -10}, {70, 10}}, rotation = 180)));
protected
Modelica.Blocks.Interfaces.RealInput y_window_internal;
final parameter Real U_value=glazing.U_value*(1-frac)+fraType.U_value*frac
Expand Down Expand Up @@ -242,7 +242,7 @@ protected

initial equation
QTra_design = (U_value*A + fraType.briTyp.G) *(273.15 + 21 - Tdes.y);
Habs =hfloor_a + hRef_a + (hVertical/2);
Habs =hAbs_floor_a + hRelSurfBot_a + (hVertical/2);

assert(not use_trickle_vent or sim.interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None,
"In " + getInstanceName() + ": Trickle vents can only be enabled when sim.interZonalAirFlowType is not None.");
Expand Down Expand Up @@ -315,8 +315,6 @@ equation
Line(points = {{-10, 70}, {-10, 100}}, color = {191, 0, 0}));
connect(heaCapGlaExt.port, layMul.port_b) annotation (
Line(points = {{-10, -12}, {-10, 0}}, color = {191, 0, 0}));
connect(trickleVent.port_b, propsBusInt.port_1) annotation (
Line(points = {{40, -80}, {50, -80}, {50, 19.91}, {56.09, 19.91}}, color = {0, 127, 255}));
connect(radSolData.Te, shaType.Te) annotation (
Line(points={{-79.4,-64},{-68.5,-64},{-68.5,-29.9067}}, color = {0, 0, 127}));
connect(shaType.port_frame, layFra.port_b) annotation (
Expand Down Expand Up @@ -348,6 +346,14 @@ equation
Line(points={{-10,-79},{-10,-58}}, color = {0, 0, 127}));
connect(y_window_trunc.y, crackOrOperableDoor.y) annotation (
Line(points={{-10,-79},{-10,-68},{19,-68},{19,-52}}, color = {0, 0, 127}));
if sim.interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts then
connect(trickleVent.port_b, propsBusInt.port_1) annotation(
Line(points = {{40, -80}, {50, -80}, {50, 19.91}, {56.09, 19.91}}, color = {0, 127, 255}));
end if;
connect(trickleVent.port_b, col_trickle.port_a) annotation(
Line(points = {{40, -80}, {52, -80}, {52, -50}}, color = {0, 127, 255}));
connect(col_trickle.port_b, propsBusInt.port_1) annotation(
Line(points = {{52, -30}, {56, -30}, {56, 20}}, color = {0, 127, 255}));
annotation (
Icon(coordinateSystem(preserveAspectRatio=true, extent={{-60,-100},{60,100}}),
graphics={Rectangle(fillColor = {255, 255, 255}, pattern = LinePattern.None,
Expand Down Expand Up @@ -553,4 +559,4 @@ Adjusted implementation for grouping of solar calculations.
</li>
</ul>
</html>"));
end Window;
end Window;
4 changes: 2 additions & 2 deletions IDEAS/Buildings/Examples/ZoneExample.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model ZoneExample
parameter Modelica.Units.SI.Length l=4 "Room length";
parameter Modelica.Units.SI.Length w=4 "Room width";
parameter Modelica.Units.SI.Length h=2.7 "Room height";
inner BoundaryConditions.SimInfoManager sim(interZonalAirFlowType=IDEAS.BoundaryConditions.Types.InterZonalAirFlow.OnePort)
inner BoundaryConditions.SimInfoManager sim(interZonalAirFlowType=IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPorts)
Comment thread
Mathadon marked this conversation as resolved.
Outdated
"Data reader"
annotation (Placement(transformation(extent={{-96,76},{-76,96}})));
IDEAS.Buildings.Components.Zone zone(
Expand Down Expand Up @@ -122,4 +122,4 @@ First implementation.
StopTime=1000000,
Tolerance=1e-06,
__Dymola_Algorithm="Lsodar"));
end ZoneExample;
end ZoneExample;
6 changes: 3 additions & 3 deletions IDEAS/Examples/PPD12/Structure.mo
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ model Structure "Ppd 12 example model"
annotation (Placement(transformation(extent={{70,68},{80,88}})));
IDEAS.Buildings.Components.Window winBed3(
hVertical=1.2*sin(winBed3.inc),
hRef_a=winBed3.hzone_a + 1,
hRelSurfMid_a=winBed3.hzone_a + 1,
frac=0.1,
azi=east,
redeclare IDEAS.Examples.PPD12.Data.PvcInsulated fraType,
Expand All @@ -92,7 +92,7 @@ model Structure "Ppd 12 example model"
A=wBedroom*lHalfBuilding*sqrt(2)/2,
redeclare IDEAS.Examples.PPD12.Data.Roof constructionType,
hVertical=lHalfBuilding*tan(Roof2.inc),
hRef_a=Roof2.hzone_a)
hRelSurfMid_a=Roof2.hzone_a)
"Roof, east side"
annotation (Placement(transformation(
extent={{-5,-10},{5,10}},
Expand Down Expand Up @@ -359,7 +359,7 @@ model Structure "Ppd 12 example model"
A=wBedroom*lHalfBuilding*sqrt(2),
redeclare IDEAS.Examples.PPD12.Data.Roof constructionType,
hVertical=lHalfBuilding*tan(Roof1.inc),
hRef_a=Roof1.hzone_a)
hRelSurfMid_a=Roof1.hzone_a)
"Roof, west side" annotation (Placement(transformation(
extent={{-5,-10},{5,10}},
rotation=90,
Expand Down
15 changes: 13 additions & 2 deletions IDEAS/Fluid/Sources/OutsideAir.mo
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ model OutsideAir
annotation(Dialog(tab="Overwrite",group="Effect of surroundings on wind"));
parameter Real a=sim.a "Velocity profile exponent. 0.28 for Suburban, 0.4 for Urban and 0.15 for Unshielded (Ashrae 1993) "
annotation(Dialog(tab="Overwrite",group="Effect of surroundings on wind"));
constant Modelica.Units.SI.Density rho=sim.rho_default "Air density";
Modelica.Units.SI.Density rho = IDEAS.Utilities.Psychrometrics.Functions.density_pTX(
p=Medium.p_default,
T=T_in_internal,
X_w=X_wEnv);

Modelica.Units.SI.Angle alpha "Wind incidence angle (0: normal to wall)";
Real CpAct(final unit="1") = windPressureProfile(u=alpha, table=table[:, :]) "Actual wind pressure coefficient";
Expand Down Expand Up @@ -116,6 +119,8 @@ end windPressureProfile;
"Angle of surface that is used to compute angle of attack of wind";
Modelica.Blocks.Interfaces.RealInput vWin(final unit="m/s") = sim.Va "Wind speed from weather bus";
Modelica.Blocks.Interfaces.RealInput winDir( final unit="rad",displayUnit="deg") = sim.Vdir "Wind direction from weather bus";
Modelica.Blocks.Math.Add adder;
Modelica.Blocks.Sources.RealExpression dpStack(y=Habs*Modelica.Constants.g_n*rho);
equation

alpha = winDir-surOut;
Expand All @@ -127,7 +132,9 @@ equation
connect(bus,sim.weaDatBus);

connect(p_link.u, bus.pAtm);
connect(p_link.y,p_in_internal);
connect(p_link.y,adder.u1);
connect(adder.u2, dpStack.y);
connect(p_in_internal, adder.y);

// must use sim.weaBus.Te for linearisation
if (use_TDryBul_in) then
Expand Down Expand Up @@ -208,6 +215,10 @@ with exception of boundary pressure, do not have an effect.
revisions="<html>
<ul>
<li>
November 13, 2023 by Filip Jorissen:<br/>
Computing stack height.
</li>
<li>
July 21, 2022 by Filip Jorissen:<br/>
Added optional dry bulb temperature input for #1270.
</li>
Expand Down