Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging master into issue1707 #1821

Merged
merged 412 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
412 commits
Select commit Hold shift + click to select a range
33c7fa2
Fixed BOMs
May 26, 2023
cbef948
Updated example file
May 30, 2023
969f220
Corrected typo in script Example
May 30, 2023
537e107
Corrected typo
mwetter Jun 2, 2023
aeec56e
merged from Buildings
hcasperfu Jun 2, 2023
b1289c2
Merge pull request #1761 from ibpsa/issue1760_correctBrokenLinks
mwetter Jun 3, 2023
55251cc
Corrected variability
mwetter Jun 4, 2023
035cc34
Add electrical package part one #1764
LauraMaier Jun 6, 2023
e9572c4
Add electrical package part 2 #1764
LauraMaier Jun 6, 2023
ae3a107
Adapt order in package #1764
LauraMaier Jun 6, 2023
961a21a
add new line #1765
LauraMaier Jun 6, 2023
a3dc72e
Readapt package order #1764
LauraMaier Jun 6, 2023
db5ae13
Add new line at package order #1764
LauraMaier Jun 6, 2023
e2a7fd8
Add new line at package.order #1764
LauraMaier Jun 6, 2023
a2092f9
Add new line at package.order #1764
LauraMaier Jun 6, 2023
6267637
Add new line at package.order #1764
LauraMaier Jun 6, 2023
5d57658
Add new line at package.order
LauraMaier Jun 6, 2023
46b0da8
Add new line at package.order
LauraMaier Jun 6, 2023
bcd4c7f
Add new line at package.order #1764
LauraMaier Jun 6, 2023
9ddaeec
adapt wrong href #1764
LauraMaier Jun 6, 2023
d588931
Adapt wrong href #1764
LauraMaier Jun 6, 2023
3dbe3ca
Adapt wrong href #1764
LauraMaier Jun 6, 2023
f14c48f
Adapt wrong href #1764
LauraMaier Jun 7, 2023
edeab0d
Add missing conversion scripts and reference results #1764
LauraMaier Jun 7, 2023
99f764b
Delete unnecessary mos scripts and ref results #1764
LauraMaier Jun 7, 2023
2568cf5
Adapt wrong href #1764
LauraMaier Jun 7, 2023
332923b
Adapt wrong href #1764
LauraMaier Jun 7, 2023
8cd69a4
Adapt wrong href #1764
LauraMaier Jun 7, 2023
b3348fc
Adapt wrong href #1764
LauraMaier Jun 7, 2023
bc75b7c
Added reference file for example CoolingOffice
amaccarini Jun 9, 2023
9cbf220
Added reference file for SimulationTest
amaccarini Jun 9, 2023
4b4713f
Adapt wrong href #1764
LauraMaier Jun 9, 2023
9aecbd0
Add documentation for the base class models #1764
LauraMaier Jun 9, 2023
33d1aac
Adapt documentation for wind turbine model #1764
LauraMaier Jun 9, 2023
d536a08
Merge pull request #1763 from ibpsa/issue1762_borehole_variability
mwetter Jun 9, 2023
c5a5bc9
Update bicubic.mo
mwetter Jun 25, 2023
406f8b3
Merge pull request #1767 from ibpsa/patch_bicubic_html
mwetter Jun 26, 2023
7c3b4e7
Bug fix: Source selector for ground temperature in VDI6007 equivalent…
PGorzalka Jun 28, 2023
855fa8c
Corrected dimension in FMI.Adaptors.Outlet
mwetter Jun 29, 2023
0218afb
Updated revision note
mwetter Jun 29, 2023
e544490
Corrected url
mwetter Jul 11, 2023
173bc74
Reverted change in layout, formatted files, removed references to Bui…
mwetter Jul 11, 2023
fd48f1c
Added missing reference result
mwetter Jul 11, 2023
e528fe0
Merge branch 'issue1764_add_electrical_package_revMW' into issue1764_…
LauraMaier Jul 12, 2023
84e1f55
Merge branch 'master' into issue1764_add_electrical_package
LauraMaier Jul 12, 2023
f1f18ec
Merge pull request #1769 from ibpsa/issue1768_FMI_Adaptors_Outlet
Mathadon Jul 12, 2023
8ed6b6b
Merge pull request #1765 from ibpsa/issue1764_add_electrical_package
mwetter Jul 13, 2023
b3ac5b3
Formatted file
mwetter Jul 18, 2023
a7fdb88
Added constraining clause
mwetter Jul 18, 2023
e0178d6
Changed compilation for JDK 8 as target
mwetter Jul 18, 2023
7925ec0
Merge pull request #1773 from ibpsa/issue1772_electrical_constraining…
LauraMaier Jul 19, 2023
2cd9eb7
Bump pygments in /IBPSA/Resources/src/fluid/heatpumps/calibration/doc
dependabot[bot] Jul 20, 2023
9b6b8ca
Bump certifi in /IBPSA/Resources/src/fluid/heatpumps/calibration/doc
dependabot[bot] Jul 25, 2023
bec32f7
Merge pull request #1776 from ibpsa/dependabot/pip/IBPSA/Resources/sr…
mwetter Jul 25, 2023
ffebb32
Merge pull request #1777 from ibpsa/dependabot/pip/IBPSA/Resources/sr…
mwetter Jul 26, 2023
b6ef4e6
Merge pull request #1775 from ibpsa/issue1774_convertWeatherData.jar
mwetter Jul 28, 2023
c9e2ab2
Changed single ATES model into a multiwell model
amaccarini Aug 18, 2023
ba31085
Updated unit tests and reference results
amaccarini Aug 18, 2023
ba7a5c6
Removed option to use glycol or air
mwetter Aug 18, 2023
f15f918
Changed dialog group as many of these entries are not about discretiz…
mwetter Aug 18, 2023
f4a86db
Made parameters final, added comments
mwetter Aug 18, 2023
b8d840c
Renamed components to 'hot' and 'col'. Aligned connectors to grid
mwetter Aug 18, 2023
801ee63
Renamed parameter to use naming convention
mwetter Aug 18, 2023
3fe9624
Added comments
mwetter Aug 18, 2023
a1e7942
Changed parameter names to end with _nominal per naming convention
mwetter Aug 19, 2023
a7cb58a
Set unit
mwetter Aug 19, 2023
489966c
Changed parameter names according to conventions, added comments
mwetter Aug 19, 2023
b85f689
Removed display unit [ci skip]
mwetter Aug 19, 2023
89c802e
Corrected typo [ci skip]
mwetter Aug 19, 2023
3c12de5
Ordered components, made some protected
mwetter Aug 19, 2023
8d6c1fb
Fixed dimension of R
amaccarini Aug 22, 2023
38e9a33
Moved porosity to data record
amaccarini Aug 22, 2023
1c3900d
Changed default value for adding power to medium in pumps
amaccarini Aug 22, 2023
a343ef2
Changed pressure drops multipliers in MultiWell
amaccarini Aug 22, 2023
d07eb7a
Added illustration of pressure circuit
amaccarini Aug 22, 2023
d770c2d
Adjusted quality of figures
Aug 22, 2023
8aa43fc
Changed name of parameters for radius
amaccarini Aug 23, 2023
75980e1
Added a temperature array to output aquifer temperatures
amaccarini Aug 23, 2023
479e0d6
Fixed typo in html text
amaccarini Aug 23, 2023
c8c3053
Fixed another typo in html text
amaccarini Aug 23, 2023
f0120de
Putting rC into protected and added a new variable rVol
amaccarini Aug 23, 2023
ce9327b
fixed typo in IBPSA.Fluid.FMI.UsersGuide
hcasperfu Aug 23, 2023
a41b29f
improved mover model assert messages
hcasperfu Aug 23, 2023
255d4d5
fixed broken mos that caused missing figure
hcasperfu Aug 23, 2023
8e08df0
corrected mos to remove empty subplot
hcasperfu Aug 23, 2023
265fac8
Merge pull request #1779 from ibpsa/issue1778_miscFix
mwetter Aug 24, 2023
f6f6841
Fixed typo in record data parameter
amaccarini Aug 25, 2023
6c1fad7
Update .travis.yml with latest BuildingsPy
mwetter Aug 25, 2023
d2edb0c
Updated BuildingsPy to v5.0.0
mwetter Sep 1, 2023
0ea40f6
Add constants for port coordinates
AntoineGautier Sep 2, 2023
60c19a7
Modify port placement in PartialStratified
AntoineGautier Sep 3, 2023
7bb1055
Rerouted connections due to new port location
mwetter Sep 5, 2023
53f86ac
First version of the intermediate results of the SimpleHouse exercise…
jelgerjansen Sep 6, 2023
0cc1328
Include diagram and experiment annotations in all models since this i…
jelgerjansen Sep 6, 2023
6de6c0d
Slightly replace a connection line
jelgerjansen Sep 6, 2023
926f5f6
Update documentation of KU Leuven Modelica crash course to be used in…
jelgerjansen Sep 6, 2023
ceb7c89
Reconfigured flow resistance
mwetter Sep 6, 2023
06eedb8
Added hydraulic resistance
mwetter Sep 6, 2023
7c39a70
Merge pull request #1783 from jelgerjansen/modelicaConferenceWorkshop
mwetter Sep 6, 2023
3962270
Move the SimpleHouse Modelica models to 'Fluid.Examples.Tutorial.Simp…
jelgerjansen Sep 7, 2023
34061c2
Move LaTeX files to IBPSA/Resources/Documentation/Fluid/Examples/Tuto…
jelgerjansen Sep 7, 2023
8250965
Add a short description in the info section of the examples and move …
jelgerjansen Sep 7, 2023
49ca167
Merge pull request #1784 from ibpsa/issue1754_ATESmodel_patch_resistance
amaccarini Sep 7, 2023
ddf7685
Move declarations to protected section
AntoineGautier Sep 7, 2023
ee18aad
Modify vectorial port icon
AntoineGautier Sep 7, 2023
8264fef
Add regression tests for each model.
jelgerjansen Sep 7, 2023
b55edbd
Add Tolerance to experiment annotation
jelgerjansen Sep 7, 2023
ef11b69
Added Kathryn Hinkelman to contributor list
mwetter Sep 7, 2023
4118f76
Set nominal attribute for dp to avoid Dymola warning
mwetter Sep 7, 2023
5766402
Made editorial revision
mwetter Sep 8, 2023
4a40681
Merge pull request #1787 from ibpsa/issue1786_contributorList
Mathadon Sep 8, 2023
73c1dad
Added calculation for pressure drop in aquifer
amaccarini Sep 8, 2023
7665717
Add exercise to the info section of the Modelica models.
jelgerjansen Sep 8, 2023
d2a82e0
Corrected typo
mwetter Sep 8, 2023
5c82475
Added full name (so that renaming works robustly)
mwetter Sep 8, 2023
7f93094
Increased tolerances to 1E-6, added test case and results
mwetter Sep 8, 2023
ef78cc2
Retry to overcome omc timeout
AntoineGautier Sep 8, 2023
b6006ff
Corrected parameter dpAquifer_nominal in NumberWells example
amaccarini Sep 11, 2023
98c56b0
Moved tutorial
mwetter Sep 11, 2023
625b981
Corrected hyperlinks
mwetter Sep 11, 2023
e000767
Deleted old files
mwetter Sep 11, 2023
5747b73
Added IBPSA.Examples to CI tests
mwetter Sep 11, 2023
b63b01d
Corrected html syntax
mwetter Sep 11, 2023
b8951a9
Corrected annotation
mwetter Sep 11, 2023
9b6575f
Adjusted pressure drop parameters
Sep 11, 2023
1277596
Merge pull request #1782 from ibpsa/issue1781_portPlacement
mwetter Sep 11, 2023
a18de7c
Merge branch 'master' into mwetter-patch-BuildingsPy
mwetter Sep 11, 2023
f581a87
Added missing comments
mwetter Sep 12, 2023
53dff2a
Eliminated alias variable (rC and rVol are the same quantity)
mwetter Sep 12, 2023
618674c
Removed assignment of m_flow_small
mwetter Sep 12, 2023
0a68b30
Corrected wrong entry to .mos script
mwetter Sep 12, 2023
49a0854
Simplified model instantiation
mwetter Sep 12, 2023
e6f3f2c
example for simple room with two elements and non-constant T ground a…
PGorzalka Sep 14, 2023
bbe5aac
include changes in the master branch
PGorzalka Sep 14, 2023
ca1d4d7
Merge pull request #1749 from PGorzalka/issue1744_vdi6007-non-constan…
mwetter Sep 14, 2023
92b29c9
Added units
mwetter Sep 14, 2023
f22c0fd
Removed graphical annotation as models should not mix graphical and t…
mwetter Sep 14, 2023
9f4b73e
Added HideResult annotation
mwetter Sep 14, 2023
73067f8
Removed algorithm specifiation
mwetter Sep 14, 2023
c0b12b0
Corrected URI
mwetter Sep 14, 2023
e949283
Implemented number of paired wells as parameter to scale the model
Sep 15, 2023
ac8bbdc
Improved documentation of MultiWell
Sep 15, 2023
386a90a
Merge pull request #1790 from ibpsa/issue1744_vdi6007-non-constant-t-…
mwetter Sep 15, 2023
fa40230
Rename SimpleHouseTemplate to SimpleHouse0
jelgerjansen Sep 15, 2023
beb647c
Remove the thermal resistor of the wall from SimpleHouse0 and include…
jelgerjansen Sep 15, 2023
586d689
Rename parameters to comply with the naming convention, fix appearanc…
jelgerjansen Sep 15, 2023
32ba036
Move window to 'wall' block
jelgerjansen Sep 15, 2023
61d4828
Update documentation of SimpleHouse0
jelgerjansen Sep 15, 2023
59b6d11
Extend information section of SimpleHouse0
jelgerjansen Sep 15, 2023
9ddbbde
Rename useConstantHeater to use_constantHeater to comply with the IBP…
jelgerjansen Sep 15, 2023
5d98b98
Move SimpleHouse to IBPSA.Examples and update parameter and component…
jelgerjansen Sep 15, 2023
34eeb96
Update documentation and revision section
jelgerjansen Sep 15, 2023
8e4eb45
Fix small typo in information section of the SimpleHouse package
jelgerjansen Sep 15, 2023
f1cc1ba
Extend the information section of SimpleHouse by referring to the tut…
jelgerjansen Sep 15, 2023
b410a52
Fix typo
jelgerjansen Sep 15, 2023
b5fef2f
Update information section of the package itself.
jelgerjansen Sep 15, 2023
f003250
Run dos2unix
mwetter Sep 15, 2023
4e2f13f
Corrected wrong model name
mwetter Sep 15, 2023
6ced3f0
Corrected old use of variable name in scripts
mwetter Sep 15, 2023
4315a72
Corrected name of mos script
mwetter Sep 15, 2023
efadf39
Corrected html
mwetter Sep 15, 2023
1f66130
Corrected old model path
mwetter Sep 15, 2023
3efa230
Merge branch 'master' into issue1785_modelicaConfTutorial
mwetter Sep 15, 2023
5d2a6d7
Deleted old mos file
mwetter Sep 15, 2023
4a6ab6a
Added missing reference results
mwetter Sep 15, 2023
bee48ed
Corrected variable names
mwetter Sep 16, 2023
bee86ba
fix poorly displayed connection in OM [ci-skip]
Sep 18, 2023
6e96fd5
Restructure diagram and components and move all building envelope com…
jelgerjansen Sep 18, 2023
5333dcc
Restructure lay-out
jelgerjansen Sep 18, 2023
11cb524
Make the connector between the constant and heater conditional again
jelgerjansen Sep 18, 2023
dbd1850
Removed BOM and run dos2unix
mwetter Sep 20, 2023
5d3b6b9
Merged issue1785_modelicaConfTutorial
mwetter Sep 20, 2023
65cac69
Updated package.order
mwetter Sep 20, 2023
8b7c0fd
Revised documentation
mwetter Sep 20, 2023
a8a0980
Revert most of the changes from #1782
AntoineGautier Sep 20, 2023
c1b2bde
Added base class to place ports on top and bottom
mwetter Sep 20, 2023
8ebf982
Checked out files from master
mwetter Sep 20, 2023
89217fb
Reroute connections, increase size of diagram
AntoineGautier Sep 21, 2023
10ff8bb
Use preconfigured movers for circulation pump and fan and added contr…
jelgerjansen Sep 21, 2023
e5c257d
Update documentation section and put required models in alphabetical …
jelgerjansen Sep 21, 2023
6f6c838
Remove BOM
jelgerjansen Sep 21, 2023
78acfb2
Corrected link
mwetter Sep 21, 2023
0e318be
Revised documentation
mwetter Sep 22, 2023
1b5a7cc
Conditionally removed components, rather than connectors
mwetter Sep 22, 2023
0c21758
Removed BOM
mwetter Sep 22, 2023
4f6e0df
Merge pull request #1795 from ibpsa/issue1794_revertPortPlacement
mwetter Sep 22, 2023
c4a5be2
Improved documentation
mwetter Sep 22, 2023
42ddc2e
Merge branch 'master' into issue1796_documentation_PartialTwoPortInte…
mwetter Sep 22, 2023
2efca98
Merge branch 'master' into issue1785_modelicaConfTutorial
mwetter Sep 22, 2023
ada3549
Added comments, updated reference results, changed parameter to constant
mwetter Sep 22, 2023
a50b2b5
Removed BOM
mwetter Sep 22, 2023
c4bad4e
Revised documentation. Removed defaults for h, length, rMax
mwetter Sep 22, 2023
d33fbf6
Unified notation by always using 'Col' rather than sometimes 'Col' an…
mwetter Sep 22, 2023
7b150be
Added units and dynamic display of temperatures
mwetter Sep 22, 2023
dc3084c
Set final from_dp=false (as soil resistance outputs m_flow)
mwetter Sep 22, 2023
fd1c981
Removed mix of assignment and graphical connections
mwetter Sep 22, 2023
3ecbc50
Corrected html
mwetter Sep 22, 2023
7117c82
Simplified pressure drop calculation
mwetter Sep 22, 2023
d92f0c5
Enlarged schematic diagram
mwetter Sep 22, 2023
bc33beb
Added icon
mwetter Sep 22, 2023
57571ce
Updated documentation
mwetter Sep 22, 2023
85ff288
Changed to having only one instance for the acquifer resistance
mwetter Sep 22, 2023
813ebd8
Declared variables on weather bus
mwetter Sep 23, 2023
2d4f7c5
Merge pull request #1788 from ibpsa/issue1785_modelicaConfTutorial
mwetter Sep 23, 2023
bea6db0
Removed output keyword
mwetter Sep 23, 2023
c5f8684
Merge pull request #1797 from ibpsa/issue1796_documentation_PartialTw…
mwetter Sep 25, 2023
09b302b
Merge branch 'master' into issue1791_SimpleHouse
mwetter Sep 26, 2023
45709d3
Renamed files
mwetter Sep 26, 2023
96d258f
Merge branch 'master' into issue1798_weatherBusVariables
mwetter Sep 28, 2023
395265e
Updated instructions for tutorial
mwetter Sep 28, 2023
89794ec
Removed displayUnit
mwetter Sep 28, 2023
2ca68cf
Merge pull request #1799 from ibpsa/issue1798_weatherBusVariables
mwetter Sep 29, 2023
a31c2be
Revised IBPSA.Media.Steam to reflect changes made to Buildings.Media.…
khinkelman Sep 29, 2023
84e04ee
Added publication references
khinkelman Sep 29, 2023
4dca2d1
Fixed typos
khinkelman Sep 29, 2023
dda4327
Merge branch 'issue1791_SimpleHouse'
mwetter Sep 29, 2023
5cab3e7
Merge pull request #1800 from khinkelman/issue1793_steamDocumentation
mwetter Sep 29, 2023
20501e5
Merge branch 'master' into issue1793_steamDocumentation
mwetter Sep 29, 2023
9396fc9
Corrected html
mwetter Sep 29, 2023
6f2d71a
Bump urllib3 in /IBPSA/Resources/src/fluid/heatpumps/calibration/doc
dependabot[bot] Oct 3, 2023
6a6c3da
Merge pull request #1802 from ibpsa/dependabot/pip/IBPSA/Resources/sr…
mwetter Oct 3, 2023
1da8fe7
Introduced distance between wells as parameter
Oct 5, 2023
05684d3
Changed unit for parameter d
Oct 5, 2023
158995f
Merge branch 'master' into issue1754_ATESmodel
mwetter Oct 13, 2023
5f40b8d
Added assertion for rMax and fixed examples accordingly
Oct 14, 2023
aedee8c
Merge branch 'issue1754_ATESmodel' of https://github.com/ibpsa/modeli…
Oct 14, 2023
3456a4b
Updated image in documentation of MultiWell
Oct 14, 2023
76b561c
Updated image with names of parameters
Oct 14, 2023
a53b4af
Bump urllib3 in /IBPSA/Resources/src/fluid/heatpumps/calibration/doc
dependabot[bot] Oct 18, 2023
b47baea
Merge pull request #1804 from ibpsa/dependabot/pip/IBPSA/Resources/sr…
mwetter Oct 18, 2023
e525a26
Formatted model
mwetter Oct 18, 2023
d32ad16
Merge remote-tracking branch 'origin/master' into issue1754_ATESmodel
mwetter Oct 18, 2023
586b769
Increased timeout
mwetter Oct 19, 2023
ec200ac
Removed each keyword
mwetter Oct 19, 2023
05cceb5
Added full class path
mwetter Oct 20, 2023
bea2228
Merge pull request #1805 from ibpsa/patch_AquiferNumberWells
mwetter Oct 21, 2023
0f9b003
Added missing annotation for medium selection in ISO13790 zone model
Oct 24, 2023
9c13368
Updated documentation of Examples package
mwetter Oct 24, 2023
f40835c
Merge pull request #1808 from ibpsa/patch_documentation
mwetter Oct 25, 2023
8a051f1
Merge pull request #1807 from ibpsa/issue1806_annotationMediumISOzone
mwetter Oct 27, 2023
ed78ae5
added missing negative sign
hcasperfu Oct 27, 2023
cf6d6cd
Merge pull request #1811 from ibpsa/issue1810_missingNegativeSignDocu…
mwetter Oct 27, 2023
9222d9d
Changed docker repository
mwetter Nov 21, 2023
b4b7801
Corrected wrong use of getInstanceName()
mwetter Nov 22, 2023
c06cd62
Corrected syntax
mwetter Nov 22, 2023
229122a
Added missing header file declaration
mwetter Nov 29, 2023
9a375d3
Merge pull request #1817 from ibpsa/issue1816_headerFiles
mwetter Nov 30, 2023
5250513
Merge pull request #1815 from ibpsa/issue1814_borehole_getInstanceName
mwetter Dec 4, 2023
48b14a8
Added header files and ifdef statements
mwetter Dec 4, 2023
3fad3f6
Merge pull request #1819 from ibpsa/issue1818_headerFiles
LauraMaier Dec 5, 2023
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
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ services:

env:
global:
- BUILDINGSPY_VERSION=BuildingsPy@50ac74d8e4fd067179bb38bc23140c2c9254c94c

- OMC_VERSION=ubuntu-2004-omc:1.20.0_dev-314-g3033f43-1
- DYMOLA_VERSION=travis_ubuntu-2004_dymola:2023x-x86_64
- DOCKER_REPONAME=lbnlblum
- [email protected]
- OMC_VERSION=ubuntu-2204-omc:1.22.0_dev-41-g8a5b18f-1
- DYMOLA_VERSION=travis_ubuntu-2004_dymola:2023x-x86_64_rev-1

jobs:
# Test matrix for regression tests.
# The documentation is tested using github actions.
- TEST_ARG="make test-bestest"
- TEST_ARG="make test-dymola PACKAGE=\"IBPSA.Experimental\""
- TEST_ARG="make test-openmodelica PACKAGE=\"IBPSA.Experimental\""
- TEST_ARG="make test-dymola PACKAGE=\"IBPSA.{Examples,Experimental}\""
- TEST_ARG="make test-openmodelica PACKAGE=\"IBPSA.{Examples,Experimental}\""
- TEST_ARG="make test-dymola PACKAGE=\"IBPSA.Fluid.{Actuators,BaseClasses,Chillers,Delays,Geothermal,Examples,FMI,FixedResistances}\""
- TEST_ARG="make test-openmodelica PACKAGE=\"IBPSA.Fluid.{Actuators,BaseClasses,Chillers,Delays,Geothermal,Examples,FMI,FixedResistances}\""
- TEST_ARG="make test-dymola PACKAGE=\"IBPSA.Fluid.{HeatExchangers,HeatPumps,Humidifiers,Interfaces,MassExchangers,MixingVolumes,Movers,Sensors,Sources,Storage}\""
Expand All @@ -45,11 +45,11 @@ env:
before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- if [[ "$TEST_ARG" == *test-dymola* || "$TEST_ARG" == *test-bestest* ]]; then
docker pull "$DOCKER_USERNAME"/${DYMOLA_VERSION};
docker pull "$DOCKER_REPONAME"/${DYMOLA_VERSION};
cp IBPSA/Resources/Scripts/travis/dymola/dymola $HOME/bin/;
fi;
- if [[ "$TEST_ARG" == *test-openmodelica* ]]; then
docker pull "$DOCKER_USERNAME"/${OMC_VERSION};
docker pull "$DOCKER_REPONAME"/${OMC_VERSION};
cp IBPSA/Resources/Scripts/travis/omc/omc $HOME/bin/omc;
fi;

Expand Down
2 changes: 1 addition & 1 deletion IBPSA/Airflow/Multizone/MediumColumn.mo
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ equation
lineColor={0,0,0}),
Text(
extent={{-50.5,20.5},{50.5,-20.5}},
lineColor={0,0,127},
textColor={0,0,127},
origin={-72.5,-12.5},
rotation=90,
textString="%name"),
Expand Down
2 changes: 1 addition & 1 deletion IBPSA/Airflow/Multizone/MediumColumnDynamic.mo
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ equation
lineColor={0,0,0}),
Text(
extent={{-50.5,20.5},{50.5,-20.5}},
lineColor={0,0,127},
textColor={0,0,127},
origin={-72.5,-12.5},
rotation=90,
textString="%name"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.BoundaryConditions.SolarGeometry.BaseClasses;
block Declination "Declination angle"
extends Modelica.Blocks.Icons.Block;
extends IBPSA.BoundaryConditions.WeatherData.BaseClasses.PartialConvertTime;
Modelica.Blocks.Interfaces.RealInput nDay(quantity="Time", unit="s")
"Day number with units of seconds"
annotation (Placement(transformation(extent={{-140,-20},{-100,20}})));
Expand All @@ -13,7 +13,8 @@ protected
constant Real k1 = sin(23.45*2*Modelica.Constants.pi/360) "Constant";
constant Real k2 = 2*Modelica.Constants.pi/365.25 "Constant";
equation
decAng = Modelica.Math.asin(-k1 * Modelica.Math.cos((nDay/86400 + 10)*k2))
modTimAux = nDay;
decAng = Modelica.Math.asin(-k1 * Modelica.Math.cos((calTimAux/86400 + 10)*k2))
"(A4.5)";
annotation (
defaultComponentName="decAng",
Expand All @@ -36,6 +37,11 @@ IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination</a>.
</html>", revisions="<html>
<ul>
<li>
March 27, 2023, by Ettore Zanetti:<br/>
Updated to use partial class for conversion from simulation time to calendar time.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1716\">IBPSA #1716</a>.
</li>
<li>
January 6, 2015, by Michael Wetter:<br/>
Updated documentation and added validation.
This is for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ This component computes the sky clearness.
</p>
<h4>Implementation</h4>
<p>
In the <code>IBPSA</code> library, <code>HGloHor</code>
In the <code>IBPSA</code> library, <code>HDirNor</code>
is always larger than <i>1E-4</i>,
minus some small undershoot due to regularization. Hence,
the implementation is not simplified for
<code>HGloHor &lt; Modelica.Constants.small</code>.
<code>HDirNor &lt; Modelica.Constants.small</code>.
</p>
<p>
The function call
Expand All @@ -68,7 +68,7 @@ is such that the regularization is usually not triggered.
<li>
September 6, 2021, by Ettore Zanetti:<br/>
Changed <code>lat</code> from being a parameter to an input from weather bus.<br/>
Changed input connector <code>HGloHor</code> to <code>HDirHor</code>.<br/>
Changed input connector <code>HGloHor</code> to <code>HDirNor</code>.<br/>
This is for
<a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1477\">IBPSA, #1477</a>.
</li>
Expand Down Expand Up @@ -113,7 +113,7 @@ First implementation.
Text(
extent={{-48,54},{-100,66}},
textColor={0,0,127},
textString="HGloHor"),
textString="HDirNor"),
Text(
extent={{-48,-66},{-100,-54}},
textColor={0,0,127},
Expand Down
2 changes: 1 addition & 1 deletion IBPSA/BoundaryConditions/UsersGuide.mo
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Note that a ceiling has a tilt of <i>0</i>
<!-- @include_Buildings
, and also the solar collector models
in
<a href=\"IBPSA.Fluid.SolarCollectors\">IBPSA.Fluid.SolarCollectors</a>
<a href=\"modelica://IBPSA.Fluid.SolarCollectors\">IBPSA.Fluid.SolarCollectors</a>
require a tilt of <i>0</i>
-->
if they are facing straight upwards.
Expand Down
29 changes: 8 additions & 21 deletions IBPSA/BoundaryConditions/WeatherData/BaseClasses/ConvertTime.mo
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
within IBPSA.BoundaryConditions.WeatherData.BaseClasses;
block ConvertTime
"Converts the simulation time to calendar time in scale of 1 year (365 days), or a multiple of a year"
extends Modelica.Blocks.Icons.Block;

parameter Modelica.Units.SI.Time weaDatStaTim(displayUnit="d")
"Start time of weather data";
parameter Modelica.Units.SI.Time weaDatEndTim(displayUnit="d")
"End time of weather data";

extends PartialConvertTime;
Modelica.Blocks.Interfaces.RealInput modTim(
final quantity="Time",
final unit="s") "Simulation time"
Expand All @@ -20,23 +14,11 @@ block ConvertTime
protected
constant Modelica.Units.SI.Time shiftSolarRad=1800
"Number of seconds for the shift for solar radiation calculation";
parameter Modelica.Units.SI.Time lenWea=weaDatEndTim - weaDatStaTim
"Length of weather data";

parameter Boolean canRepeatWeatherFile = abs(mod(lenWea, 365*24*3600)) < 1E-2
"=true, if the weather file can be repeated, since it has the length of a year or a multiple of it";

discrete Modelica.Units.SI.Time tNext(start=0, fixed=true)
"Start time of next period";

equation
when {initial(), canRepeatWeatherFile and modTim > pre(tNext)} then
// simulation time stamp went over the end time of the weather file
//(last time stamp of the weather file + average increment)
tNext = if canRepeatWeatherFile then integer(modTim/lenWea)*lenWea + lenWea else time;
end when;
calTim = if canRepeatWeatherFile then modTim - tNext + lenWea else modTim;

calTim = calTimAux;
modTimAux = modTim;
assert(canRepeatWeatherFile or noEvent((time - weaDatEndTim) < shiftSolarRad),
"In " + getInstanceName() + ": Insufficient weather data provided for the desired simulation period.
The simulation time " + String(time) +
Expand All @@ -59,6 +41,11 @@ or a multiple of it, if this is the length of the weather file.
</html>", revisions="<html>
<ul>
<li>
March 27, 2023, by Ettore Zanetti:<br/>
Updated to use partial class for conversion from simulation time to calendar time.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1716\">IBPSA #1716</a>.
</li>
<li>
April 15, 2020, by Michael Wetter:<br/>
Added <code>noEvent</code> to assertion to remove zero crossing function in OPTIMICA.
</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.BoundaryConditions.WeatherData.BaseClasses;
block EquationOfTime "Equation of time"
extends Modelica.Blocks.Icons.Block;
extends PartialConvertTime;
Modelica.Blocks.Interfaces.RealInput nDay(
quantity="Time",
unit="s")
Expand All @@ -14,19 +14,25 @@ block EquationOfTime "Equation of time"
protected
Real Bt "Intermediate variable";
equation
Bt = Modelica.Constants.pi*((nDay + 86400)/86400 - 81)/182
modTimAux = nDay;
Bt = Modelica.Constants.pi*((calTimAux + 86400)/86400 - 81)/182
"Our unit is s instead of day in (A.4.2b)";
eqnTim = 60*(9.87*Modelica.Math.sin(2*Bt) - 7.53*Modelica.Math.cos(Bt) - 1.5*
Modelica.Math.sin(Bt)) "Our unit is s instead of min in (A.4.2a)";
annotation (
defaultComponentName="eqnTim",
Documentation(info="<html>
<p>
This component computes the difference between solar noon and noon of local civic time.
This component computes the difference between solar noon and noon of local civil time.
</p>
</html>", revisions="<html>
<ul>
<li>
March 27, 2023, by Ettore Zanetti:<br/>
Updated to use partial class for conversion from simulation time to calendar time.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1716\">IBPSA #1716</a>.
</li>
<li>
May 13, 2010, by Wangda Zuo:<br/>
First implementation.
</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.BoundaryConditions.WeatherData.BaseClasses;
block LocalCivilTime "Converts the clock time to local civil time."
extends Modelica.Blocks.Icons.Block;
extends PartialConvertTime;
Modelica.Blocks.Interfaces.RealInput cloTim(
final quantity="Time",
final unit="s") "Clock time"
Expand All @@ -15,7 +15,8 @@ protected
final parameter Modelica.Units.SI.Time diff=-timZon + lon*43200/Modelica.Constants.pi
"Difference between local and clock time";
equation
locTim = cloTim + diff;
modTimAux = cloTim;
locTim = calTimAux + diff;

annotation (
defaultComponentName="locTim",
Expand All @@ -34,6 +35,11 @@ The formula is based on Michael Wetter's thesis (A4.1):
</html>", revisions="<html>
<ul>
<li>
March 27, 2023, by Ettore Zanetti:<br/>
Updated to use partial class for conversion from simulation time to calendar time.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1716\">IBPSA #1716</a>.
</li>
<li>
November 14, 2015, by Michael Wetter:<br/>
Introduced <code>diff</code>.
</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
within IBPSA.BoundaryConditions.WeatherData.BaseClasses;
partial block PartialConvertTime
"Converts the simulation time to calendar time in scale of 1 year (365 days), or a multiple of a year"
extends Modelica.Blocks.Icons.Block;
parameter Modelica.Units.SI.Time weaDatStaTim(displayUnit="d") = 0
"Start time of weather data";
parameter Modelica.Units.SI.Time weaDatEndTim(displayUnit="d") = 31536000
"End time of weather data";
Modelica.Units.SI.Time modTimAux "Model time";
Modelica.Units.SI.Time calTimAux "Calendar time";

protected
parameter Modelica.Units.SI.Time lenWea=weaDatEndTim - weaDatStaTim
"Length of weather data";

parameter Boolean canRepeatWeatherFile = abs(mod(lenWea, 365*24*3600)) < 1E-2
"=true, if the weather file can be repeated, since it has the length of a year or a multiple of it";

discrete Modelica.Units.SI.Time tNext(start=0, fixed=true)
"Start time of next period";

equation
when {initial(), canRepeatWeatherFile and modTimAux > pre(tNext)} then
// simulation time stamp went over the end time of the weather file
//(last time stamp of the weather file + average increment)
tNext = if canRepeatWeatherFile then integer(modTimAux/lenWea)*lenWea + lenWea else time;
end when;
calTimAux = if canRepeatWeatherFile then modTimAux - tNext + lenWea else modTimAux;


annotation (
defaultComponentName="conTim",
Documentation(info="<html>
<p>
This component converts the simulation time to calendar time in a scale of 1 year (365 days),
or a multiple of it, if this is the length of the weather file.
</p>
</html>", revisions="<html>
<ul>
<li>
March 27, 2023, by Ettore Zanetti:<br/>
Added partial class for conversion from simulation time to calendar time, to be
used by solar models that require calendar time for calculations.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1716\">IBPSA #1716</a>.
</li>
</ul>
</html>"),
Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{100,
100}})));
end PartialConvertTime;
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LimiterTotalSkyCover
LimiterWindDirection
LimiterWindSpeed
LocalCivilTime
PartialConvertTime
PartialLimiter
PartialLimiterMin
SolarTime
Expand Down
39 changes: 39 additions & 0 deletions IBPSA/BoundaryConditions/WeatherData/Bus.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@ within IBPSA.BoundaryConditions.WeatherData;
expandable connector Bus "Data bus that stores weather data"
extends Modelica.Icons.SignalBus;

Modelica.Units.SI.Temperature TDryBul "Dry bulb temperature";
Modelica.Units.SI.Temperature TWetBul "Wet bulb temperature";
Modelica.Units.SI.Temperature TDewPoi "Dew point temperature";
Modelica.Units.SI.Temperature TBlaSky "Black-body sky temperature";

Real relHum(final unit="1") "Relative humidity";

Real HDirNor(final unit="W/m2") "Direct normal solar irradiation";
Real HGloHor(final unit="W/m2") "Global horizontal solar irradiation";
Real HDifHor(final unit="W/m2") "Diffuse horizontal solar irradiation";

Real HHorIR(final unit="W/m2") "Horizontal infrared irradiation";

Modelica.Units.SI.Angle winDir "Wind direction";
Modelica.Units.SI.Velocity winSpe "Wind speed";

Modelica.Units.SI.Height ceiHei "Cloud cover ceiling height";
Real nOpa(final unit="1") "Opaque sky cover";
Real nTot(final unit="1") "Total sky cover";

Modelica.Units.SI.Angle lat "Latitude of the location";
Modelica.Units.SI.Angle lon "Longitude of the location";
Modelica.Units.SI.Height alt "Location altitude above sea level";

Modelica.Units.SI.AbsolutePressure pAtm "Atmospheric pressure";

Modelica.Units.SI.Angle solAlt "Solar altitude angle";
Modelica.Units.SI.Angle solDec "Solar declination angle";
Modelica.Units.SI.Angle solHouAng "Solar hour angle";
Modelica.Units.SI.Angle solZen "Solar zenith angle";

Modelica.Units.SI.Time solTim "Solar time";
Modelica.Units.SI.Time cloTim "Model time";

annotation (
defaultComponentName="weaBus",
Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{100,
Expand All @@ -16,6 +50,11 @@ This component is an expandable connector that is used to implement a bus that c
</html>", revisions="<html>
<ul>
<li>
September 22, 2023, by Michael Wetter:<br/>
Declared the variables that are on the bus.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1798\">IBPSA, #1798</a>.
</li>
<li>
June 25, 2010, by Wangda Zuo:<br/>
First implementation.
</li>
Expand Down
33 changes: 33 additions & 0 deletions IBPSA/Electrical/AC/Interfaces/PowerOutput.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
within IBPSA.Electrical.AC.Interfaces;
connector PowerOutput
"Connector with real power, reactive power and power factor"
output Modelica.Units.SI.Power real "Real power";
output Modelica.Units.SI.ReactivePower apparent "Apparent power";
output Modelica.Units.SI.Angle phi "Phase shift";
output Real cosPhi "Power factor";

annotation (Icon(graphics={ Polygon(
points={{-100,100},{100,0},{-100,-100},{-100,100}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid)}), Diagram(graphics={
Polygon(
points={{-100,50},{0,0},{-100,-50},{-100,50}},
lineColor={0,0,127},
fillColor={255,255,255},
fillPattern=FillPattern.Solid), Text(
extent={{30,110},{30,60}},
textColor={0,0,127},
textString="%name")}),
Documentation(info="<html>
This connector contains multiple quantities that can be used to monitor
the power consumption of a generic AC systems.
</html>", revisions="<html>
<ul>
<li>
March 19, 2015, by Marco Bonvini:<br/>
Added documentation.
</li>
</ul>
</html>"));
end PowerOutput;
Loading