Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
317 commits
Select commit Hold shift + click to select a range
716bcff
no string
KobusVanRooyen Apr 12, 2024
08b7fca
command changed
KobusVanRooyen Apr 12, 2024
45486af
try -k
KobusVanRooyen Apr 12, 2024
486bab4
remove artifacts
KobusVanRooyen Apr 12, 2024
9078727
wip
KobusVanRooyen Apr 12, 2024
bfe61b3
wip
KobusVanRooyen Apr 12, 2024
c3a6731
wip
KobusVanRooyen Apr 12, 2024
c8bb5f4
wip
KobusVanRooyen Apr 12, 2024
999e4a0
wip
KobusVanRooyen Apr 12, 2024
32c4d16
wip
KobusVanRooyen Apr 12, 2024
79dbe29
getting there
KobusVanRooyen Apr 12, 2024
6ed8e01
test idea
KobusVanRooyen Apr 12, 2024
5a34288
try passing artifact info
KobusVanRooyen Apr 15, 2024
8abd9ab
add path to artifact, temp tox file
KobusVanRooyen Apr 15, 2024
72ab75b
Split test pipeline
KobusVanRooyen Apr 15, 2024
f111f45
path update
KobusVanRooyen Apr 15, 2024
8c5f1ca
try 2nd upload
KobusVanRooyen Apr 15, 2024
600e79a
name updates
KobusVanRooyen Apr 15, 2024
4c927d0
wip
KobusVanRooyen Apr 15, 2024
907f4b9
demo file instead
KobusVanRooyen Apr 15, 2024
5d42ba7
wip
KobusVanRooyen Apr 15, 2024
d58f03d
wip
KobusVanRooyen Apr 15, 2024
f3ca022
dummy file with values
KobusVanRooyen Apr 15, 2024
053517b
wip
KobusVanRooyen Apr 15, 2024
a7cf68f
silly correction
KobusVanRooyen Apr 15, 2024
019e578
dir mistake
KobusVanRooyen Apr 15, 2024
81e14a1
add values in dummy file
KobusVanRooyen Apr 15, 2024
104261d
specify dir for download
KobusVanRooyen Apr 15, 2024
819c7f0
wip
KobusVanRooyen Apr 15, 2024
835928c
try actual esdl now
KobusVanRooyen Apr 15, 2024
d7d7a0a
for postprocessing case to fail
KobusVanRooyen Apr 15, 2024
78365ee
try real setup
KobusVanRooyen Apr 15, 2024
6a80c6c
Added additional job, temp main test for this 1
KobusVanRooyen Apr 15, 2024
a875819
Specify retention days
KobusVanRooyen Apr 15, 2024
43c3248
Add missing units for the energy kpi
KobusVanRooyen Apr 16, 2024
8e72920
Formatting, test update, renaming
KobusVanRooyen Apr 16, 2024
e4dbb9a
renaming
KobusVanRooyen Apr 16, 2024
d5c5c7c
revert to using all test cases again
KobusVanRooyen Apr 16, 2024
8e5e77d
add source size check
KobusVanRooyen Apr 16, 2024
1ef9498
bug fix
KobusVanRooyen Apr 16, 2024
f95be24
Add airco (#26)
jimrojerTNO Apr 16, 2024
115572f
Merge branch 'main' into 15-create-test-for-_write_updated_esdl
KobusVanRooyen Apr 17, 2024
0ef9598
Merge pull request #25 from Multi-Energy-Systems-Optimization/15-crea…
KobusVanRooyen Apr 17, 2024
e03a79c
reduced heating demand for passing of pre-processing pipeline
KobusVanRooyen Apr 22, 2024
996655a
Add gasboiler, e-boiler, airwaterHPelec (#41)
jimrojerTNO Apr 22, 2024
6b0bae5
profiles for the municipality example (#47)
FJanssen-TNO Apr 22, 2024
a15726a
40 hydraulic power gas (#44)
FJanssen-TNO Apr 24, 2024
1d1988f
Checking feasibility in tests (#49)
jimrojerTNO Apr 25, 2024
e482504
Emerge workflow (#50)
jimrojerTNO Apr 25, 2024
58dd0e5
bug fix (#51): Writing results to influxDB of deleted assets
KobusVanRooyen Apr 26, 2024
1c1b0f0
adding esdl requirements
jimrojerTNO Apr 26, 2024
81d637e
Merge branch 'main' into docs-mesido-right-to-play
jimrojerTNO Apr 26, 2024
e2f30cb
added esdl requirements
jimrojerTNO Apr 26, 2024
8ad493b
starting with copying the paper and getting it in the right rst format
jimrojerTNO Apr 26, 2024
1abc4c6
wip
jimrojerTNO Apr 29, 2024
37344e7
a lot of documentation
jimrojerTNO Apr 29, 2024
26a02d8
update the link in the ReadMe.txt
jimrojerTNO Apr 29, 2024
a7b1f54
remove HeatMixin from readme
jimrojerTNO May 1, 2024
4e1716d
Bug fix - empty esdl string & testing thereof added
KobusVanRooyen May 1, 2024
8d65140
formatting
KobusVanRooyen May 1, 2024
a200221
formatting
KobusVanRooyen May 1, 2024
e312daa
formatting
KobusVanRooyen May 1, 2024
466fde1
Merge pull request #61 from Multi-Energy-Systems-Optimization/empty-e…
KobusVanRooyen May 1, 2024
3ab13f3
29 database restructuring for animation mode mapeditor (#60)
FJanssen-TNO May 6, 2024
0f4a6d3
formatting
KobusVanRooyen May 6, 2024
b948eec
formatting
KobusVanRooyen May 6, 2024
ee8258e
formatting and some restructering
KobusVanRooyen May 6, 2024
0a6391f
formatting changed mesido/Mesido to MESIDO
KobusVanRooyen May 6, 2024
844ff2d
formatting
KobusVanRooyen May 6, 2024
46e7ac5
formatting
KobusVanRooyen May 6, 2024
2c335f7
added cyclic heat constraints to test + formatting
KobusVanRooyen May 16, 2024
e723b4c
try to force heatpump on earlier
KobusVanRooyen May 16, 2024
a02c65c
reverted heat_loss code to original
KobusVanRooyen May 16, 2024
4fdc7bb
formatting
KobusVanRooyen May 16, 2024
d345909
formatting
KobusVanRooyen May 16, 2024
4e9a06e
formatting
KobusVanRooyen May 16, 2024
0931b6b
update from comments kobus
jimrojerTNO May 21, 2024
588d9a5
Formatting and 3 fixes (open conversations)
KobusVanRooyen May 23, 2024
1dcf925
fixed typos in heat_physics
FJanssen-TNO May 24, 2024
a768df8
head loss docs update
KobusVanRooyen May 27, 2024
f0b8f63
Docs: Feedback to comments + update/inlcude head losses
KobusVanRooyen May 28, 2024
6e2b299
fixed demand matching and use of HP to allows the wko stored_heat to …
FJanssen-TNO May 28, 2024
2e826ea
Bug fix and updated test case: pipe DN update in esdl
KobusVanRooyen May 28, 2024
8e0fdb4
Remove optimized result esdl file
KobusVanRooyen May 28, 2024
f81e7c5
Update: ignore updated esdl file string file & added ignore *_fj_*
KobusVanRooyen May 28, 2024
86c4b55
Formtting in test case
KobusVanRooyen May 28, 2024
6422ee6
Equation update
KobusVanRooyen May 28, 2024
e508e87
Merge pull request #58 from Multi-Energy-Systems-Optimization/docs-me…
KobusVanRooyen May 28, 2024
94094fd
spelling fix
KobusVanRooyen May 29, 2024
f5562f2
Merge pull request #75 from Multi-Energy-Systems-Optimization/74-bug-…
KobusVanRooyen May 29, 2024
5a12273
Merge branch 'docs-mesido-right-to-play' into patch-before-database-r…
KobusVanRooyen May 29, 2024
1b2890b
Fix docs spelling mistake
KobusVanRooyen May 29, 2024
3d075ce
manual fix bug optimized pipe dn not updated in esdl
KobusVanRooyen May 29, 2024
e2cd6ea
Merge branch 'patch-before-database-restructuring' into merge_patch_t…
lfse-slafleur May 29, 2024
d477774
Merge pull request #79 from Multi-Energy-Systems-Optimization/merge_p…
lfse-slafleur May 29, 2024
ac6b1d3
Decrease computational time heat_physics pre():
KobusVanRooyen Jun 14, 2024
42c4bf4
Load unique profiles from database instead of all the profiles
KobusVanRooyen Jun 14, 2024
23855b0
bug fix
KobusVanRooyen Jun 17, 2024
10fb605
Reduce demand load in network
KobusVanRooyen Jun 17, 2024
614e7af
update network with unique multiplier values
KobusVanRooyen Jun 17, 2024
a4a2b09
Update test case to include checking that the correct profile is assi…
KobusVanRooyen Jun 17, 2024
2897407
influxdb results update:
KobusVanRooyen Jun 17, 2024
ec6c470
only write updated esdl and updated influxdb at the end of optimizati…
KobusVanRooyen Jun 17, 2024
58133cf
add network type check, onlu use write_updated_esdl for heat
KobusVanRooyen Jun 19, 2024
8f1c4ed
bug fix write_updated_esdl:
KobusVanRooyen Jun 19, 2024
50a2a1d
fix test case
KobusVanRooyen Jun 19, 2024
ce577bb
- Added lifetime OPEX costs to High level kpi dashboard - Updated tes…
KobusVanRooyen Jun 20, 2024
20e0cd9
formatting
KobusVanRooyen Jun 21, 2024
e70e263
Remove unnecessary code
KobusVanRooyen Jun 21, 2024
87b4088
formatting
KobusVanRooyen Jun 25, 2024
268f226
Chnaged lifetime to 15yrs
KobusVanRooyen Jun 26, 2024
175e82d
Use optim time horizon instead of lifetime in KPIs
KobusVanRooyen Jun 26, 2024
27fa170
formatting
KobusVanRooyen Jun 26, 2024
5d4d6c9
seperate function for add kpis to esdl, exclude for emerge workflow
KobusVanRooyen Jun 26, 2024
6fab5ee
formatting
KobusVanRooyen Jun 26, 2024
c23f16b
Made pipe4 & pipe4_ret optional, updated test case
KobusVanRooyen Jun 26, 2024
eccbc09
formatting + add _total_stages
KobusVanRooyen Jun 26, 2024
9bbb086
updated test case to check profile mutliplier value
KobusVanRooyen Jun 26, 2024
dfff36a
Merge pull request #76 from Multi-Energy-Systems-Optimization/docs-er…
KobusVanRooyen Jun 26, 2024
4356d9d
90 electricity storage discharge efficiency (#92)
FJanssen-TNO Jun 27, 2024
a9b0ff2
Merge branch '53-investigating-where-other-time-is-lost-before-starti…
KobusVanRooyen Jun 27, 2024
970fbfd
Merge branch '77-influxdb-update-request'
KobusVanRooyen Jun 27, 2024
bd300ba
Merge branch '14-write-lifetime-opex-to-optimized-esdl'
KobusVanRooyen Jun 28, 2024
6d974dd
Merge branch 'main' into 73-bug-in-writing-optimised-pipe-sizes-to-es…
KobusVanRooyen Jun 28, 2024
6d2c15c
bug fix
KobusVanRooyen Jun 28, 2024
839f811
Merge branch 'bug_fix'
KobusVanRooyen Jun 28, 2024
2082e5b
Merge branch 'main' into 73-bug-in-writing-optimised-pipe-sizes-to-es…
KobusVanRooyen Jun 28, 2024
e2672bd
update esdl: remove network network type check add warnings
KobusVanRooyen Jul 1, 2024
54ce4e0
Merge branch 'main' into 35-wko-physics-modelling
KobusVanRooyen Jul 1, 2024
699639b
formatting
KobusVanRooyen Jul 1, 2024
bccaaf9
Update src/mesido/workflows/io/write_output.py
KobusVanRooyen Jul 1, 2024
2d85084
Merge branch '73-bug-in-writing-optimised-pipe-sizes-to-esdl-when-sup…
KobusVanRooyen Jul 1, 2024
0b0696c
Merge pull request #88 from Multi-Energy-Systems-Optimization/73-bug-…
KobusVanRooyen Jul 1, 2024
deb98a1
Electrolyzer modelling options (#98)
FJanssen-TNO Jul 1, 2024
f1bd85b
bug in test case, pipe length should be shorter
KobusVanRooyen Jul 1, 2024
126c849
Priceprofile heatpump (#97)
FJanssen-TNO Jul 1, 2024
3990431
use coolprop, updated test cases, big fix viscosity type
KobusVanRooyen Jul 2, 2024
f410277
check something
KobusVanRooyen Jul 2, 2024
79ad033
check
KobusVanRooyen Jul 2, 2024
480bb51
check pipe length
KobusVanRooyen Jul 2, 2024
d3e6dec
temp tox settings
KobusVanRooyen Jul 2, 2024
757809a
remove temp
KobusVanRooyen Jul 2, 2024
3a7aefb
remove all temp code, use correct code
KobusVanRooyen Jul 2, 2024
abae89b
Electrolyzer Constant Efficiency (#100)
AlexMGTNO Jul 2, 2024
38cb9c8
Merge branch 'main' into 96-replace-iapws
KobusVanRooyen Jul 2, 2024
b4f8e16
Merge pull request #101 from Multi-Energy-Systems-Optimization/96-rep…
KobusVanRooyen Jul 2, 2024
02ee2a7
Gas import and export (#99)
FJanssen-TNO Jul 2, 2024
ee029c7
105: Clarify the license as LGPLv3.
lfse-slafleur Jul 3, 2024
4a49c51
wip: still testing with no heat losses
KobusVanRooyen Jul 4, 2024
f1c069d
Remove last occurance of iawps (#109)
KobusVanRooyen Jul 5, 2024
2b2b85b
Merge pull request #106 from lfse-slafleur/105-clarify-the-license
KobusVanRooyen Jul 9, 2024
ec1fa20
formatting fix, already exists in main
KobusVanRooyen Jul 9, 2024
a2686b5
Merge pull request #116 from Multi-Energy-Systems-Optimization/patch-…
KobusVanRooyen Jul 9, 2024
cfa60ad
Merge pull request #117 from Multi-Energy-Systems-Optimization/licens…
KobusVanRooyen Jul 10, 2024
9ccff5e
Utils test update (#102)
FJanssen-TNO Jul 10, 2024
7aa343a
Add discharging var electricity storages (#110)
FJanssen-TNO Jul 10, 2024
fcfa26f
Discharging variable gas storages (#108)
FJanssen-TNO Jul 10, 2024
dca36a7
Multicommodity simulator (#94)
FJanssen-TNO Jul 12, 2024
f62beb6
Inlcude heat losses
KobusVanRooyen Jul 12, 2024
76c2ce2
Formatting
KobusVanRooyen Jul 12, 2024
21d4cd8
Merge branch 'main' into 35-wko-physics-modelling
KobusVanRooyen Jul 12, 2024
a9b675a
Multicommodity simulator storage (#119)
FJanssen-TNO Jul 12, 2024
086ea25
Electrolyzer equality constraint (#114)
AlexMGTNO Jul 16, 2024
327eb4d
resolved issue where heatlosses are turned off for cold delivery, due…
FJanssen-TNO Jul 18, 2024
f13ffbc
Sequential mc simulator (#125)
FJanssen-TNO Jul 22, 2024
ea47aa8
Update on the structure of the profiles provided as output to the dat…
FJanssen-TNO Aug 5, 2024
45579a5
Removed unfit check in log of postprocessing (#127)
FJanssen-TNO Aug 5, 2024
624ff0e
Merge branch 'main' into 35-wko-physics-modelling
KobusVanRooyen Aug 6, 2024
dcfec31
formatting
KobusVanRooyen Aug 6, 2024
d6c4d31
Merge branch 'main' into 35-wko-physics-modelling
KobusVanRooyen Aug 6, 2024
5b89dcf
formatting
KobusVanRooyen Aug 6, 2024
687e737
formatting
KobusVanRooyen Aug 6, 2024
6d54038
Removed todo as it has been resolved
KobusVanRooyen Aug 6, 2024
88b1e18
Updated the test case to check heat gain/loss
KobusVanRooyen Aug 6, 2024
139f36d
Scaling problem check (#137)
FJanssen-TNO Aug 6, 2024
f3a925d
Merge branch 'main' into 35-wko-physics-modelling
KobusVanRooyen Aug 7, 2024
309ebe6
Merge pull request #67 from Multi-Energy-Systems-Optimization/35-wko-…
KobusVanRooyen Aug 7, 2024
65802af
Fix the headloss equality constraints (#135)
FJanssen-TNO Aug 8, 2024
fe9be9f
Update git ignore for Jaime
KobusVanRooyen Aug 12, 2024
e996a1d
Changed abbreviation to more default instead
KobusVanRooyen Aug 12, 2024
1898407
Merge pull request #143 from Multi-Energy-Systems-Optimization/update…
KobusVanRooyen Aug 12, 2024
90be734
Cleanup of gitignore file (#144)
KobusVanRooyen Aug 12, 2024
7972394
Fixes on headloss constraints (#142)
FJanssen-TNO Aug 14, 2024
16f8ebe
Identify insufficient installed capacity, log and exit run (#147)
KobusVanRooyen Aug 16, 2024
4644710
Starting point (#148)
KobusVanRooyen Aug 20, 2024
d797207
Logical links (#138)
FJanssen-TNO Aug 20, 2024
0f434f8
Updates after use case challanges (#153)
KobusVanRooyen Aug 21, 2024
d533fcb
Update info for version release (#156)
KobusVanRooyen Aug 23, 2024
13e5379
removing some old rtc-tools-heat-network stuff (#160)
jimrojerTNO Sep 18, 2024
ce52c38
Create tutorial esdl (#171)
Jaimepatt Oct 3, 2024
87e81d9
54 mesido validation with pandapipes simple model (#169)
KobusVanRooyen Oct 4, 2024
07c52e6
fix on the check of the profile parsing and the scaling of the ATES (…
FJanssen-TNO Oct 7, 2024
0b8b440
Cleanup run grow workflow solvers (#174)
FJanssen-TNO Oct 7, 2024
48da8fb
Electrolyzer curve update (#178)
FJanssen-TNO Oct 7, 2024
92ef74b
Gas physics docs (#161)
jimrojerTNO Oct 7, 2024
e0d6095
Update min velocity in grow_workflow (#170)
KobusVanRooyen Oct 7, 2024
a043cd9
Fixes scaling NSE (#159)
jimrojerTNO Oct 7, 2024
87fb72a
first version electricity physics docs (#162)
jimrojerTNO Oct 7, 2024
0aaf4b7
157 create use case wko (#167)
KobusVanRooyen Oct 9, 2024
3a88233
152 limit connected pipe pipe classes (#155)
jimrojerTNO Oct 15, 2024
65a30a3
Reduce frequency of pipeline runs (#190)
FJanssen-TNO Nov 4, 2024
da0ed5d
bug fix when setting nominals (#192)
KobusVanRooyen Nov 4, 2024
29c85f5
186 order of ports e boiler (#193)
KobusVanRooyen Nov 4, 2024
c9acb8d
Run pipeline when merged to main (#196)
FJanssen-TNO Nov 5, 2024
c3f497f
175 error feedback to mapeditor (#188)
KobusVanRooyen Nov 6, 2024
bfbe4bd
Update calc for q max and nominal (#199)
KobusVanRooyen Nov 6, 2024
1ad0d2b
Speed up adapt_hourly_year_profile_to_day_averaged_with_hourly_peak_d…
lfse-slafleur Nov 6, 2024
0c0357d
Updated file for MESIDO release (#203)
KobusVanRooyen Nov 7, 2024
67575d5
Same mip gap setting in grow workflow for all solvers (#205)
FJanssen-TNO Nov 7, 2024
a0cc31a
208 bug fix head loss test case 1 (#210)
KobusVanRooyen Nov 11, 2024
95fa513
Generalising writejson method and adding solver stats (#211)
FJanssen-TNO Nov 14, 2024
cd21ec0
Gas pipe database (#197)
FJanssen-TNO Nov 14, 2024
fc35be4
Update changelog main due to DTK new release (#214)
KobusVanRooyen Nov 15, 2024
f93f939
166 adapt profiles for heating and cooling peak day seperately (#181)
Jaimepatt Nov 19, 2024
c074cb8
update after profile peak day update (#217)
KobusVanRooyen Nov 21, 2024
a1eddef
Cleanup assets esdlconversion (#212)
FJanssen-TNO Nov 26, 2024
c927023
34 create kip gas workflow (#184)
KobusVanRooyen Dec 2, 2024
3b2e281
Heat exchanger bypass (#218)
FJanssen-TNO Dec 2, 2024
df8c52d
Pickle for back end dtk (#224)
KobusVanRooyen Dec 4, 2024
7b6c891
Updating assets in esdl (#230)
KobusVanRooyen Dec 12, 2024
df92d9f
Bugfix: Get density carriertype (#232)
FJanssen-TNO Jan 16, 2025
73d55be
Update average profiles (#236)
FJanssen-TNO Jan 24, 2025
53f0548
Update commodity type for post (#223)
FJanssen-TNO Jan 27, 2025
a40afda
Electricity cables unidirectional (#234)
FJanssen-TNO Jan 27, 2025
b8453ed
Post processing utils (#226)
FJanssen-TNO Jan 27, 2025
a38480c
bug fix post processing pipe pressure (#244)
KobusVanRooyen Feb 7, 2025
b0ae05e
Heat exchanger bypass allowed for variable temperatures (#239)
FJanssen-TNO Feb 10, 2025
1413a3a
242 read profiles from csv files (#245)
KobusVanRooyen Feb 11, 2025
7350f0d
Update casadi (#247)
KobusVanRooyen Feb 11, 2025
9e88077
Bug fix on boolean bounds - dtk webinar case (#248)
KobusVanRooyen Feb 12, 2025
3e63ef1
upgrade trctools version (#250)
KobusVanRooyen Feb 12, 2025
50b195f
Temporary fix for dependencies in main (#257)
KobusVanRooyen Feb 18, 2025
7959d66
Dev documentation assets (#240)
FJanssen-TNO Feb 19, 2025
b0b893f
Discounted cost documentation (#261) (#262)
jarsarasty Mar 20, 2025
ff73a16
State info assets (#256)
FJanssen-TNO Mar 24, 2025
f1ee61a
271 potential errors being persistent in backend (#274)
KobusVanRooyen Apr 15, 2025
c718f08
Revert "271 potential errors being persistent in backend" (#276)
KobusVanRooyen Apr 17, 2025
1969204
Profile adaptation to copying a year (#278)
FJanssen-TNO Apr 29, 2025
dbc6466
change definition of power value of heat pump (#279)
tolga-akan May 8, 2025
671c010
Generalizing setting profiles (#282)
FJanssen-TNO May 13, 2025
8db3bf4
moved location of potential error reset (#284)
KobusVanRooyen May 15, 2025
f979d75
Heat pump power upper bound is defined as the upper bound of heat pum…
tolga-akan May 20, 2025
f636739
Add progress info for OMOTES backend & DTK front end (#286)
KobusVanRooyen May 20, 2025
091213b
changelog (#289)
KobusVanRooyen May 20, 2025
7a9471a
290 pyesdl bug in a conversion of units (#291)
KobusVanRooyen May 21, 2025
8053fee
277 add max heat producing capacity profile to a producer (#295)
KobusVanRooyen Jun 13, 2025
f529872
Specify flake8 versions temporary
KobusVanRooyen Jun 13, 2025
d692802
Bug fix to prevent asset sizing when state=ENABLED (#305)
KobusVanRooyen Jul 1, 2025
9347e68
297 air to water heatpump update (#300)
tolga-akan Jul 4, 2025
cdc9e97
fix test_end_scenario_sizing_head_loss
jarsarasty Jul 24, 2025
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/rtctools_heat_network/_version.py export-subst
src/mesido/_version.py export-subst
90 changes: 85 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: PyPi release
run-name: CI pipeline
on:
push:
pull_request:
branches:
- '*'
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
branches:
- main

jobs:
style:
name: Check style
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: flake8,black
steps:
Expand All @@ -27,6 +36,7 @@ jobs:
build:
name: Check build
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3

Expand All @@ -39,10 +49,12 @@ jobs:

- name: Check build
run: python setup.py sdist bdist_wheel

test:
name: Check test

# Main testing
test_main:
name: Test main
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: py38
steps:
Expand All @@ -54,13 +66,81 @@ jobs:

- name: deps
run: python -m pip install -U tox

- name: Check test
run: tox -vv -etest_env_main

# Pre-processing testing
test_pre_processing:
name: Test pre-processing
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: py38
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.8"

- name: deps
run: python -m pip install -U tox

- name: Check test
run: tox -vv
run: tox -vv -etest_env_pre

- name: Upload results
uses: actions/upload-artifact@v4
with:
name: updated_esdl_file
path: examples/PoCTutorial/model/PoC Tutorial_GrowOptimized.esdl
retention-days: 5

- name: Upload results
uses: actions/upload-artifact@v4
with:
name: updated_esdl_string_file
path: examples/PoCTutorial/model/PoC Tutorial_GrowOptimized_esdl_string.esdl
retention-days: 5


# Post processing testing dependant on pre-processing
test_post_processing:
name: Test post-processing
needs: test_pre_processing
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: py38
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.8"

- name: deps
run: python -m pip install -U tox

- name: Archive test artifacts
uses: actions/download-artifact@v4
with:
name: updated_esdl_file
path: examples/PoCTutorial/model/
- name: Archive test artifacts
uses: actions/download-artifact@v4
with:
name: updated_esdl_string_file
path: examples/PoCTutorial/model/

- name: Check test
run: tox -vv -etest_env_post

documentation:
name: Generate documentation
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3

Expand Down
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@ src/*.egg-info
.ipynb_checkpoints
.vscode

# Kobus van Rooyen
run_pipe_compare.py
.venv/
# Abbreviation to be added to files/folders name
# Meaning of abbreviation: exclude from version control
*_efvc_*

# Ignore ESDL files created by workflows
*_GrowOptimized.esdl
*_GrowOptimized_esdl_string.esdl
*_Simulation.esdl

# Virtual environment files
.venv/*

# Docs build folder
docs/_build/*
docs/_build_kvr_
7 changes: 6 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ build:
py37:linux:
stage: test
script:
- tox -vv
- echo "Demo" > Demo.txt
artifacts:
paths:
- ./Demo.txt
# - ./PoC Tutorial_GrowOptimized.esdl
expire_in: 1 week
image: python:3.7
variables:
TOXENV: py37
Expand Down
186 changes: 186 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
# [Unreleased-main] - 2025-06-25

## Added
- xx

## Changed
- Previously variable operational cost of air-to-water heat pump was based on the thermal power usage. Now it is based on the electrical power usage

## Fixed
- xxx


# [0.1.13] - 2025-06-25

## Added
- xx

## Changed
- README update mesido install command for dev

## Fixed
- Bug: Producer profiles specified in Watts and asset state=ENABLED


# [0.1.12] - 2025-06-12

## Added
- Maximum profile contraint (specified in Watts) to some heat producers

## Changed
- xx

## Fixed
- xx


# [0.1.11] - 2025-05-21

## Added
- xx

## Changed
- Updated pyESDL to v25.5.1

## Fixed
- xx


# [0.1.10] - 2025-05-20

## Added
- Default database for gas pipe dimensions based on the ASA pipe schedule with thicknesses from the standard class
- Gas and electricity workflow has been added. Still a work in progress
- Internal energy content function added for natural gas and hydrogen
- OPEX added for gas and electricity source
- Commodity annotation for assets, to allow for easier postprocessing
- Added function to make pickle usable (exceptions) in the OMOTES back end
- More of the existing classes added to __init_ for local runs using the grow_workflow
- Generic functions for postprocessing are added.
- Generic function to adapt timeseries from hourly timesteps to user-defined timesteps by averaging.
- Error check for NaN values in profile data (csv & influxDB)
- Specify package (deepdiff used in pandapipes validation test) version number in test environment
- Reset POTENTIAL_ERRORS class instance (Singleton) in grow_workflow due to it being persistent
- Estimate grow worlfow progress status and update OMOTES progress status

## Changed
- Updated the Financial section of the documentation to explain the annualized discounted costs calculation.
- Write output to json also saves the solver statistics.
- Updates in asset conversion from ESDL to pycml; gas and heat pipe split, generic conversion better specified.
- Adapt profiles for heating and cooling peak day separately & add test case
- For gas: Use energy content (heating value) instead of internal energy
- Option was added to allow a bypass of the heat exchanger, possible on both sides of the heat exchanger
- Option for electricity cables to be unidirectional
- Upgraded rtctools to v 2.6.1
- Updated Casadi to 3.6.7 with gil fixes (see https://github.com/casadi/casadi/releases/tag/nightly-gil_release)
- Definition of power attribute of water-to-water heat pump is changed from electrical power to secondary heat power
- Enforce water-to-water heat pump upper bound heat capacity to conform to elect_power*cop

## Fixed
- Bugfix: gas boiler mass flow constraint units
- Bugfix: same mip gap settings for all solvers in grow_workflow.
- Bugfix: head loss test case when minimum_velocity = 0.0
- Bugs: state update of heat pump, heat buffer volume & ates charge rates update in ESDL, heat storage asset data output to influxDB
- Bugfix: get_density + get_internal_energy updated to ensure it checks commodity type for heat instead of the carrier name
- Bug: pipe class bounds when pipe DN none results from stage 1 in the grow_workflow


# [0.1.8.5] - 2025-02-12

## Added
- xx

## Changed
- Updated Casadi to 3.6.7 with gil fixes (see https://github.com/casadi/casadi/releases/tag/nightly-gil_release)
- Upgraded rtctools to version 2.6.1

## Fixed
- Bug: pipe class bounds when pipe DN none results from stage 1 in the grow_workflow


# [0.1.8.4] - 2024-12-11

## Added
- More of the existing classes added to __init_ for local runs using the grow_workflow

## Changed
- xxx

## Fixed
- Bugs: state update of heat pump, heat buffer volume & ates charge rates update in ESDL, heat storage asset data output to influxDB


# [0.1.8.3] - 2024-12-02

## Added
- Added function to make pickle usable (exceptions) in the OMOTES back end

## Changed
- xx

## Fixed
- Bugfix: same mip gap settings for all solvers in grow_workflow.
- Bugfix: head loss test case when minimum_velocity = 0.0


# [0.1.8.2] - 2024-11-15

## Added
- xx

## Changed
- xx

## Fixed
- Bugfix: same mip gap settings for all solvers in grow_workflow.
- Bugfix: head loss test case when minimum_velocity = 0.0


# [0.1.8 & 0.1.8.1] - 2024-11-07

## Added
- Added MESIDO error exception class to raise applicable potential errors in a workflow & include required info for feedback in the mapeditor
- Limit the available pipe classes connetced to heat/gas demand/producers
- Add demands and sources to the topology object to have easy access to the connected pipes/cables later on
- Heating and cooling example case added (2 heating demands, 1 cold demand, hot and cold producer, WKO as seasonal storage)
- Gas physics documentation
- Gas & electricity 1st version of physics documentation
- Test case: Head loss validation with pandapipes.
- Example on ESDL file creation using pyESDL for the PoC Tutorial.
- Electrolyzer specific power curve valley location specified optionally specified in ESDL.
- Grow_workflow: Solver class created to allow the use of CPLEX as a solver for EndScenarioSizing classes.

## Changed
- Cooling demand added to adapt_hourly_year_profile_to_day_averaged_with_hourly_peak_day (peak cooling day not used yet)
- Impact on the way EndScenarioSizing problems in MESIDO are run: The calling of the different optimization problem classes has been split from the solver classes. In EndScenarioSizing classes, the HIGHS solver is the default and the calling functions also cather for other solvers by adding the keyword "solver_class" with the respective solver class.
- Bugfix: No longer required to provide a power at the heating demands when a profile has been added.
- Bugfix: Scaling fix on ATES temperature variable when temperature modelling not used.
- Bugfix: Fix on nominals in electricity cables and gas pipes. Fix on nominals for nodes with logical links.
- Pipeline is only run when pull request is ready for review and synchronized or when opened, as well as when a pull request is merged to main.
- Speedup: Changed the way daily average profiles are created from hourly profiles to speed up the conversion.

## Fixed
- Bug fix: Logical links: e_boiler & gas boiler update to use energy values
- Bug fix: Q max and nominal calculation update when reference energy value
- Bug fix: e-boiler expected order of inports while setting nominal values
- Bug fix: setting nominals while using logical links when all values are 1.0
- Bug fix: machine error/rounding with updating lower bound values in the grow_workflow after stage 1
- documentation: heat physics tank storage
- bug fix in grow_workflow (heat networks), changed minimum velocity from 0 to default value
- addition to tests checking the minimum velocity setting in a workflow


# [0.1.7] - 2024-08-23

## Added
- User feedback regarding demand type to be used in heat networks
- Functionality to connect assets with logical links

## Changed
- Increased time limit for stage 1, priority 1
- Replaced Retry loop to connect all assets and apply the correct modifiers of the linked assets

## Fixed
- Error exit when stage 1, priority 1 was not successful


File renamed without changes.
8 changes: 5 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
recursive-include src/rtctools_heat_network/modelica/WarmingUp *
recursive-include src/mesido/modelica/WarmingUp *
include versioneer.py
include src/rtctools_heat_network/_version.py
include src/rtctools_heat_network/esdl/_edr_pipes.json
include src/mesido/_version.py
include src/mesido/esdl/_edr_pipes.json
include src/mesido/esdl/_gas_pipe_database.json
include additional_info_for_license.txt
Loading