Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
419 commits
Select commit Hold shift + click to select a range
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
f1d0864
bug fix air_water_heat_pump_elec + add test case (#315)
KobusVanRooyen Jul 24, 2025
595afac
Gas and electricity assets sizing is set
tolga-akan Aug 6, 2025
d7b756f
test timelimit for ci pipeline on github
FJanssen-TNO Aug 12, 2025
d1286cd
timelimits on all jobs, 10 minutes for main and 5 minutes for other jobs
FJanssen-TNO Aug 12, 2025
8d27cc7
notes in changeslog
FJanssen-TNO Aug 12, 2025
f47fb02
Merge pull request #335 from Multi-Energy-Systems-Optimization/timeou…
FJanssen-TNO Aug 12, 2025
119cace
Lifetime of an asset is taken into account in optimization for CAPEX …
tolga-akan Aug 14, 2025
eaa7fda
309 heatingdemand asset add fixed maintenance costs (#336)
gopalangj Aug 22, 2025
3264430
Generalize esdl heat model generic modifiers (#324)
FJanssen-TNO Aug 27, 2025
429e72d
Ates discharge charge variable (#337)
FJanssen-TNO Aug 27, 2025
e89f9cc
Hydraulic power calculations when headloss turned off. (#329)
FJanssen-TNO Aug 28, 2025
a7a08c1
Heat exchanger requirements (#328)
FJanssen-TNO Aug 28, 2025
db9ee59
292 time limit reached priority 1 (#326)
FJanssen-TNO Aug 29, 2025
3d4d84d
Speedup test varying temperature (#338)
FJanssen-TNO Sep 1, 2025
30ef898
Update pipe catalog costs (#331)
FJanssen-TNO Sep 4, 2025
df8e646
Issue 306 create enums (#344)
gopalangj Sep 4, 2025
1b5c425
add atol to argument (#340)
plgbrts Sep 25, 2025
83567d0
fix test_end_scenario_sizing_head_loss (#316)
jarsarasty Oct 3, 2025
15b2af3
Update python version to minimum of 3.10 (#350)
FJanssen-TNO Oct 7, 2025
a0fd962
A new type of potential error is added
tolga-akan Oct 8, 2025
36934ad
Additional constraint is added for aggregation_count of geothermal an…
tolga-akan Oct 9, 2025
5a4eafe
temp_check
KobusVanRooyen Oct 9, 2025
110af41
fix mistake
KobusVanRooyen Oct 9, 2025
7ac5650
Additional functionality of heat sources to have profiles (#353)
gopalangj Oct 10, 2025
412c5c6
Optimized esdl is re usable to perform a new optimization again
tolga-akan Oct 10, 2025
e26116b
Emission parsing (#334)
FJanssen-TNO Oct 15, 2025
e02824b
Fix network simulator test (#355)
KobusVanRooyen Oct 15, 2025
232aafc
Remove OUTPUT profiles at inport of assets before updating esdl
tolga-akan Oct 30, 2025
5f12ba5
Roll out workflow first developments (#333)
FJanssen-TNO Oct 30, 2025
7a8996a
Update post processing rollout workflow (#367)
FJanssen-TNO Nov 4, 2025
a7fd9b3
Fix pytest-xdist hanging by limiting workers from -n auto to -n 4 (#368)
jarsarasty Nov 4, 2025
dbad66a
Bug fix lifetime (#370)
KobusVanRooyen Nov 5, 2025
a3c3454
303-limiting-the-upper-limit-of-available-pipes-classes (#354)
gopalangj Nov 6, 2025
bed133e
capex_factor calculation is updated when we add KPI for TCO optimization
tolga-akan Nov 6, 2025
ccaa0eb
Grow workflow stage2 infeasible (#361)
FJanssen-TNO Nov 6, 2025
16dbd08
Handle potential error asset cost information (#275)
jarsarasty Nov 7, 2025
351b628
Writing KPIs back for discounted CAPEX
tolga-akan Nov 7, 2025
1fddd31
formatting (#373)
KobusVanRooyen Nov 7, 2025
440499e
Reduce computational effort stage 2 grow_workflow (#376)
FJanssen-TNO Nov 19, 2025
72561c1
382 fix test hang problem (#383)
KobusVanRooyen Nov 28, 2025
8ed28f6
Add testing configuration files (#347)
jarsarasty Dec 5, 2025
36d45f8
Reducing binary charging variables heat ates costs (#386)
FJanssen-TNO Dec 8, 2025
83516f1
Setup for tco goal where only the influenceable variables are used (#…
FJanssen-TNO Dec 8, 2025
f198cf3
Bug: Account for 2 port hp in updating esdl file (#375)
KobusVanRooyen Dec 8, 2025
4f28bf5
Rollout development heatbuffer and maximum pipe length (#374)
FJanssen-TNO Dec 8, 2025
ab19175
use markes and combine main testing (#389)
KobusVanRooyen Dec 9, 2025
44c93bd
Removing _ret for pipe relationships (#327)
FJanssen-TNO Dec 9, 2025
597c3b3
Fix problem test case (#392)
KobusVanRooyen Dec 12, 2025
fce197f
Clean up generalize code (#352)
FJanssen-TNO Dec 18, 2025
a740e8b
391 fix influx issue (#393)
KobusVanRooyen Dec 18, 2025
e3949d6
Reducing binary charging variables (#384)
FJanssen-TNO Dec 19, 2025
8f1cc58
Rollout workflow costs (#394)
FJanssen-TNO Dec 22, 2025
f094e82
Replace templates with measures (#390)
tolga-akan Jan 13, 2026
8d39c3c
db connections updated (#401)
KobusVanRooyen Jan 14, 2026
321c8d6
Added geothermal minimum operational requirement in rollout (#395)
FJanssen-TNO Jan 19, 2026
752e036
Update black to minimum 26.1.0 (#415)
FJanssen-TNO Jan 26, 2026
6a38360
E-Boiler for DTK
tolga-akan Jan 26, 2026
0200e3e
Heating and cooling sizing in grow_workflow (#312)
KobusVanRooyen Jan 27, 2026
adc847a
bug ates variable operational cost
tolga-akan Jan 30, 2026
e7c7dca
Gasboiler for dtk (#385)
tolga-akan Feb 2, 2026
016ef87
Reducing loops over timestep in profile averaging (#414)
FJanssen-TNO Feb 2, 2026
1fe58a0
404 improve vectorization for summations over timestep (#409)
FJanssen-TNO Feb 4, 2026
1849956
Heat exchanger attributes in optimized esdl (#422)
tolga-akan Feb 5, 2026
1fcba99
formatting (#423)
KobusVanRooyen Feb 5, 2026
29876a3
Fix git pipeline (#436)
KobusVanRooyen Feb 24, 2026
c719b73
426 db connections structure (#438)
KobusVanRooyen Feb 25, 2026
ec5c2f8
E-boiler KPI Update
tolga-akan Feb 25, 2026
762275c
update changelog (#439)
KobusVanRooyen Feb 25, 2026
42ef732
Speed up on timeseries check from influx (#433)
FJanssen-TNO Feb 25, 2026
75814fd
417 parsing timeseries for ensembles (#434)
FJanssen-TNO Feb 25, 2026
509af47
PV asset takes profile constraints
tolga-akan Mar 6, 2026
2737ea9
418 asset max size and esdl attribute used (#419)
KobusVanRooyen Mar 10, 2026
5fd0827
Update pipe DN lower size - initial usage (#443)
KobusVanRooyen Mar 11, 2026
274841b
Cleanup after stage 1 in staged approach (#444)
KobusVanRooyen Mar 11, 2026
0929235
new release
KobusVanRooyen Mar 12, 2026
89e486c
421 geothermal asset e consumption (#424)
Jaimepatt Mar 12, 2026
9840833
Changelog updated with electricity geothermal (#451)
FJanssen-TNO Mar 26, 2026
b893aa5
Head loss equation reduction (#446)
FJanssen-TNO Mar 26, 2026
1000b76
Generalizing state_vector_scaled (#440)
FJanssen-TNO Mar 27, 2026
aa0ae95
Integrated heat storage and e-conversion asset (#396)
FJanssen-TNO Mar 31, 2026
d69cdd8
Discrete variables (#255)
FJanssen-TNO Apr 2, 2026
11e95b9
24 requiring unique esdl asset id instead of name (#437)
FJanssen-TNO Apr 9, 2026
6b51321
fix for getting profile unit and quantity (#457)
KobusVanRooyen Apr 15, 2026
31400b6
Datasource to output profile (datasource_to_output_profile) (#460)
tolga-akan Apr 16, 2026
684d410
updating check on which demands are not matched (#461)
FJanssen-TNO Apr 17, 2026
e02806b
Removed test files that are no longer used (#462)
FJanssen-TNO Apr 17, 2026
2b15526
Generlizing bigm constraints (#449)
FJanssen-TNO Apr 21, 2026
93089bf
Heat source varying temp (#330) (#341)
FJanssen-TNO Apr 24, 2026
672cc75
Airco sizing test (#452)
tolga-akan Apr 28, 2026
fbb2f43
Utils Test for Cost Calculations (#455)
tolga-akan May 5, 2026
2ab31fe
Ensembles - grow workflow (#458)
FJanssen-TNO May 7, 2026
1f57797
Logical link tests updated (#465)
FJanssen-TNO May 12, 2026
5cc61ee
Test non linear head loss (#464)
FJanssen-TNO May 12, 2026
673b807
Generic ramp constraints added for heat asset (#470)
FJanssen-TNO May 12, 2026
2f98139
Heat and Cooling Workflow Clean-up (#441)
tolga-akan May 12, 2026
882b135
Maximum and minimum temperature of residual heat source are parsed fr…
tolga-akan May 19, 2026
d3bd805
Linearized headloss reduce binary variables (#466)
FJanssen-TNO May 20, 2026
3a15a9c
407 update ates low and high temperature components (#471)
FJanssen-TNO May 20, 2026
fd66081
Feedback for heat demand not matched (#473)
FJanssen-TNO May 22, 2026
ddc95a7
Remove price profile requirement if electricity carrier available (#478)
FJanssen-TNO May 28, 2026
abc60a8
453 remove the need for ret in carriers (#472)
FJanssen-TNO May 29, 2026
1d76a32
DTK presolve off (HIGHS) (#480)
KobusVanRooyen Jun 3, 2026
9162b49
WIP: upgrade to rtc-tools 2.7.3, casadi 3.7.2, rtctools-highs 0.1.3
jarsarasty Jun 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
106 changes: 96 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
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
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: flake8,black
steps:
- uses: actions/checkout@v3

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

- name: deps
run: python -m pip install -U tox
Expand All @@ -27,46 +37,122 @@ jobs:
build:
name: Check build
runs-on: ubuntu-latest
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3

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

- name: deps
run: python -m pip install -U wheel setuptools build

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

test:
name: Check test

# Main testing part
test_main:
name: Test main
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: py38
TOXENV: py311
steps:
- uses: actions/checkout@v3

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

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

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

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

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

- 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
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft }}
env:
TOXENV: py311
steps:
- uses: actions/checkout@v3

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

- 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
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3

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

- name: Generate documentation
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

- name: deps
run: python -m pip install -U build
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_
17 changes: 11 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: python:3.7
image: python:3.11

before_script:
- pip install tox
Expand All @@ -13,7 +13,7 @@ stages:
# style
style:
stage: style
image: python:3.7
image: python:3.11
script:
- tox -vv
variables:
Expand All @@ -30,13 +30,18 @@ build:
expire_in: 1 week

# test
py37:linux:
py311:linux:
stage: test
script:
- tox -vv
image: python:3.7
- echo "Demo" > Demo.txt
artifacts:
paths:
- ./Demo.txt
# - ./PoC Tutorial_GrowOptimized.esdl
expire_in: 1 week
image: python:3.11
variables:
TOXENV: py37
TOXENV: py311

# documentation
pages:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
Loading