Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 5 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
pull_request:
jobs:
build:
runs-on: self-hosted
runs-on: blizz
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event"
- run: echo "🐧 This job is now running on a ${{ runner.os }} server called tony-de-rekenpony hosted by The Sysis team at KU Leuven"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}"
- run: echo "The following commands are used to remove files inside container to ensure cleanup and avoid permission errors"
- run: docker stop dymimg > /dev/null 2>&1 || true
- run: docker run --name dymimg --detach=true --rm -v /home/actions-runner/_work/IDEAS/IDEAS:/home/developer/IDEAS -w /home/developer/IDEAS -it dymimg
- run: docker run --name dymimg --detach=true --rm -v /home/u0148284/actions-runner/_work/IDEAS/IDEAS:/home/developer/IDEAS -w /home/developer/IDEAS -it dymimg
- run: docker exec -t dymimg /bin/bash -c "rm -rf IDEAS && exit"
- run: docker stop dymimg > /dev/null 2>&1 || true
- name: Check out repository code
uses: actions/checkout@v3
with:
clean: true
- name: Change permissions of repository folder
run: chmod -R 777 /home/actions-runner/_work
run: chmod -R 777 /home/u0148284/actions-runner/_work
- name: List of files in the repository
run: |
ls ${{ github.workspace }}
test:
runs-on: self-hosted
runs-on: blizz
needs: build
defaults:
run:
Expand Down Expand Up @@ -93,4 +93,4 @@ jobs:
- name: Test IDEAS.Examples.Tutorial
run: make test-dymola PACKAGE=\"IDEAS.Examples.Tutorial\" INTERACTIVE=false
- name: Test IDEAS.Examples.TwinHouses
run: make test-dymola PACKAGE=\"IDEAS.Examples.TwinHouses\" INTERACTIVE=false
run: make test-dymola PACKAGE=\"IDEAS.Examples.TwinHouses\" INTERACTIVE=false
47 changes: 27 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
*.log
# Files and folders below are ignored

*.aux
*.bak-mo
*.dll
*.DS_Store
*.exe
*.exp
*.fmu
*.gz
*.idx
*.ilg
*.ind
*.out
*.gz
*.toc
*.dll
*.lib
*.fmu
*.xml
*.txt
*.log
*.mat
*.exe
*.exp
*.rar
*.bak-mo
*.DS_Store
/*.mm
*.mof
*.mos~
*.out
*.rar
*.toc
*.txt
*.xml
systemScript.py
.idea/
/IDEAS backup
/IDEAS/funnel_comp
/IDEAS/Inputs
/IDEAS/*.pyc
/IDEAS/Resources/drawings.pptx
/Specifications/Specs.synctex
/Specifications/Specs.tcp
/Specifications/Specs.tps
/IDEAS backup

# The files below are not ignored (hence the "!")
!/Inputs/*.txt
!/IDEAS/Inputs/*.txt
!/IDEAS/Resources/strobe/*.txt
!/IDEAS/Resources/ReferenceResults/Dymola/*txt
/IDEAS/Resources/drawings.pptx
/*.mm
/IDEAS/*.pyc
systemScript.py
/IDEAS/Inputs
!/IDEAS/Resources/ReferenceResults/Dymola/*.txt
12 changes: 8 additions & 4 deletions IDEAS/Airflow/Multizone/BaseClasses/DoorDiscretized.mo
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ partial model DoorDiscretized
Modelica.Units.SI.Velocity vTop "Velocity at top of opening from A to B";
Modelica.Units.SI.Velocity vBot "Velocity at bottom of opening from A to B";

protected
parameter Modelica.Units.SI.Length dh=hOpe/nCom "Height of each compartment";

input Modelica.Units.SI.Length dh=hOpe/nCom "Height of each compartment";
protected
parameter Medium.ThermodynamicState sta_default=Medium.setState_pTX(
T=Medium.T_default,
p=Medium.p_default,
Expand All @@ -28,11 +28,11 @@ protected
parameter Modelica.Units.SI.Density rho_default=Medium.density(sta_default)
"Density, used to compute fluid volume";

parameter Real hAg[nCom](each unit="m2/s2")=
input Real hAg[nCom](each unit="m2/s2")=
{Modelica.Constants.g_n*(hA - (i - 0.5)*dh) for i in 1:nCom}
"Product g*h_i for each compartment";

parameter Real hBg[nCom](each unit="m2/s2")=
input Real hBg[nCom](each unit="m2/s2")=
{Modelica.Constants.g_n*(hB - (i - 0.5)*dh) for i in 1:nCom}
"Product g*h_i for each compartment";
Modelica.Units.SI.AbsolutePressure pA[nCom](each nominal=101325)
Expand Down Expand Up @@ -118,6 +118,10 @@ using the model for a door that can be open or closed.
revisions="<html>
<ul>
<li>
October 29, 2024, by Klaas De Jonge:<br/>
Unprotected <code>dh</code> and changed prefixes of <code>dh</code>,<code>hAg</code> and <code>hBg</code> to <code>input</code>. This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1935\">#1935</a>.
</li>
<li>
January 8, 2019, by Michael Wetter:<br/>
Moved parameter <code>CD</code> from
<a href=\"modelica://IDEAS.Airflow.Multizone.BaseClasses.DoorDiscretized\">
Expand Down
151 changes: 98 additions & 53 deletions IDEAS/Airflow/Multizone/CrackOrOperableDoor.mo

Large diffs are not rendered by default.

32 changes: 15 additions & 17 deletions IDEAS/Airflow/Multizone/Examples/TrickleVentIDEAS.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ within IDEAS.Airflow.Multizone.Examples;
model TrickleVentIDEAS
"Model with a trickle vent modelled using the models with flow based on tabulated data"
extends IDEAS.Airflow.Multizone.Examples.TrickleVent(west(nPorts=2), east(nPorts=2));

IDEAS.Airflow.Multizone.TrickleVent vent(
redeclare package Medium = Medium,
dp_nominal = 10,
m_flow_nominal = 0.02614,
use_y = true)
"Analytic trickle vent implementation" annotation(
dp_nominal = 10,
m_flow_nominal = 0.02614,
use_y = true)
"Analytic trickle vent implementation" annotation (
Placement(visible = true, transformation(origin = {20, -70}, extent = {{-10, 10}, {10, -10}}, rotation = 0)));
Modelica.Blocks.Sources.Ramp ramp(
duration = 1e6,
height = -1,
offset = 1,
startTime = 1592000)
"Step control signal" annotation(
duration = 1e6,
height = -1,
offset = 1,
startTime = 1592000)
"Step control signal" annotation (
Placement(visible = true, transformation(origin = {-90, -88}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(vent.port_a, east.ports[2]) annotation(
connect(vent.port_a, east.ports[2]) annotation (
Line(points = {{10, -70}, {-25, -70}, {-25, -30}, {-30, -30}}, color = {0, 127, 255}));
connect(vent.port_b, west.ports[2]) annotation(
connect(vent.port_b, west.ports[2]) annotation (
Line(points = {{30, -70}, {65, -70}, {65, -30}, {70, -30}}, color = {0, 127, 255}));
connect(ramp.y, vent.y) annotation(
connect(ramp.y, vent.y) annotation (
Line(points = {{-79, -88}, {20.5, -88}, {20.5, -82}, {20, -82}}, color = {0, 0, 127}));
annotation (__Dymola_Commands(file="modelica://IDEAS/Resources/Scripts/Dymola/Airflow/Multizone/Examples/TrickleVentIDEAS.mos"
"Simulate and plot"),
Expand All @@ -37,9 +37,7 @@ This model illustrates the use of the models
IDEAS.Airflow.Multizone.Table_V_flow</a>,
which is an analytic alternative to the table implementation of
<a href=\"modelica://IDEAS.Airflow.Multizone.Table_m_flow\">
IDEAS.Airflow.Multizone.Table_m_flow</a> for

modelling self regulating inlet vents.
IDEAS.Airflow.Multizone.Table_m_flow</a> for modelling self regulating inlet vents.
</p>
</html>", revisions="<html>
<ul>
Expand All @@ -50,4 +48,4 @@ First implementation.
</ul>
</html>"),
Diagram);
end TrickleVentIDEAS;
end TrickleVentIDEAS;
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
within IDEAS.Airflow.Multizone;
model ReversibleDensityColumn
model MediumColumnReversible
"Vertical shaft with no friction and no storage of heat and mass, reversible because it can handle negative column heights"

extends IDEAS.Airflow.Multizone.MediumColumn(
h(min=-Modelica.Constants.inf),
h(min=-Modelica.Constants.inf),
final densitySelection = IDEAS.Airflow.Multizone.Types.densitySelection.fromBottom);
// by convention, port_b must be connected to a zone instead of a flow element
// h is allowed to be negative to accomodate for this convention

annotation (
Icon(graphics={
Line(
Expand Down Expand Up @@ -39,4 +39,4 @@ This makes port_a not nececarilly always the top port.
</li>
</ul>
</html>"));
end ReversibleDensityColumn;
end MediumColumnReversible;
Loading