Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
417 commits
Select commit Hold shift + click to select a range
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
7d299b1
Bug fix mipgap (#206)
KobusVanRooyen Nov 7, 2024
7796b4d
Bug fix mipgap (#207)
KobusVanRooyen Nov 7, 2024
a0cc31a
208 bug fix head loss test case 1 (#210)
KobusVanRooyen Nov 11, 2024
cae552f
head loss test case bug fix (#209)
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
fc6932f
new release (#213)
KobusVanRooyen Nov 15, 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
411277d
219 allow mesidoasseterror to be pickable (#221)
lfse-slafleur Dec 2, 2024
3b2e281
Heat exchanger bypass (#218)
FJanssen-TNO Dec 2, 2024
df8c52d
Pickle for back end dtk (#224)
KobusVanRooyen Dec 4, 2024
b6bf877
Bugs webinar example (#229)
KobusVanRooyen Dec 12, 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
092cd97
182: Update casadi to 3.6.7 gil release with highs 1.4.1 (#246)
lfse-slafleur Feb 7, 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
1019d06
Webinar case headlosses - bug fix on boolean bounds (#235)
KobusVanRooyen Feb 11, 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
349d467
updgrade rtctool version (#249)
KobusVanRooyen Feb 12, 2025
3e63ef1
upgrade trctools version (#250)
KobusVanRooyen Feb 12, 2025
89932d1
formatting for new dtk release
KobusVanRooyen Feb 12, 2025
089731c
temporary fix for dependencies (#254)
KobusVanRooyen Feb 13, 2025
50b195f
Temporary fix for dependencies in main (#257)
KobusVanRooyen Feb 18, 2025
7959d66
Dev documentation assets (#240)
FJanssen-TNO Feb 19, 2025
6e759bb
Discounted cost documentation (#202)
jarsarasty Feb 24, 2025
b0b893f
Discounted cost documentation (#261) (#262)
jarsarasty Mar 20, 2025
ff73a16
State info assets (#256)
FJanssen-TNO Mar 24, 2025
69ffa9d
add potential error: ASSET_COST_INFORMATION
jarsarasty Apr 3, 2025
4f180fd
Apply ASSET_COST_INFORMATION only to HEAT_NETWORK_ERRORS
jarsarasty Apr 3, 2025
1682655
get installation costs: get_potential_errors
jarsarasty Apr 9, 2025
f11e85a
get_variable_opex_costs and get_installation_costs: Include potential…
jarsarasty Apr 9, 2025
0dceb22
check potential errors in get_fixed_opex_costs and get_investment_costs
jarsarasty Apr 10, 2025
0022c46
add test_error_handling
jarsarasty Apr 10, 2025
503f73d
format
jarsarasty Apr 10, 2025
f1ee61a
271 potential errors being persistent in backend (#274)
KobusVanRooyen Apr 15, 2025
e22fd76
ESDL input file: Add note "Combined investment and installation costs…
jarsarasty Apr 16, 2025
012bb1d
add NO_POTENTIAL_ERRORS_CHECK
jarsarasty Apr 16, 2025
939d19f
format
jarsarasty Apr 16, 2025
c718f08
Revert "271 potential errors being persistent in backend" (#276)
KobusVanRooyen Apr 17, 2025
c013e4b
Grow_workflow: initialize EndScenarioSizing with error_type_check
jarsarasty Apr 17, 2025
6309166
Merge branch 'main' of https://github.com/Multi-Energy-Systems-Optimi…
jarsarasty Apr 17, 2025
0b1a51e
Use NO_POTENTIAL_ERRORS_CHECK as default error type
jarsarasty Apr 18, 2025
4c10891
use NO_POTENTIAL_ERRORS_CHECK as default error type
jarsarasty Apr 18, 2025
1969204
Profile adaptation to copying a year (#278)
FJanssen-TNO Apr 29, 2025
1242bf4
update with required and optional cost attributed
jarsarasty May 1, 2025
e2437aa
update with required and optional cost attributes
jarsarasty May 1, 2025
8d37e52
Tests: update unit tests for handling errors
jarsarasty May 1, 2025
c0ed063
test: mock json input
jarsarasty May 1, 2025
28ce677
black format
jarsarasty May 1, 2025
5254059
Flake8 formatting
jarsarasty May 1, 2025
2e599a5
add test check cost information input
jarsarasty May 1, 2025
6f225f0
update cost information test
jarsarasty May 6, 2025
21380f0
cost validation checks pass when reset_potential_errors is commented out
jarsarasty May 8, 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
2c55731
Grow Workflow: use HEAT_NETWORK_ERRORS as a default error type
jarsarasty May 14, 2025
ef6d53d
AssetToComponentBase: change _log_and_add_potential_issue() function…
jarsarasty May 15, 2025
8db3bf4
moved location of potential error reset (#284)
KobusVanRooyen May 15, 2025
f203848
change function name _log_and_add_potential_issue
jarsarasty May 15, 2025
114f1ec
resolve merge conflict
jarsarasty May 15, 2025
0c0f449
include error_type_check argument in grow_workflow
jarsarasty May 15, 2025
a9ef9ec
addressing comments from review
jarsarasty May 15, 2025
af523fb
map from asset type to cost requirements
jarsarasty May 15, 2025
43b2711
cost input checks: update tests
jarsarasty May 16, 2025
9043647
clean up
jarsarasty May 16, 2025
72b4d0c
changelog
jarsarasty May 16, 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
2fe8185
update docstrings
jarsarasty May 22, 2025
7238526
Merge branch 'main' of https://github.com/Multi-Energy-Systems-Optimi…
jarsarasty May 22, 2025
56740ae
sync files with main branch
jarsarasty May 22, 2025
7c67cf0
sync file
jarsarasty May 22, 2025
b82a777
Update changelog
jarsarasty May 27, 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
8a16751
Merge branch 'main' of mesido into include-potential-error-ASSET_COST…
jarsarasty Jul 10, 2025
8ae4bc5
Potential Errors: Update docstrings
jarsarasty Jul 10, 2025
558dd0a
potential errors: Consider cost attributes and asset types not define…
jarsarasty Jul 10, 2025
9b229f3
fix typos
jarsarasty Jul 10, 2025
060dfa4
Fix typos
jarsarasty Jul 10, 2025
418270d
Test cost input: Reduce time series length.
jarsarasty Jul 17, 2025
55a6ab6
Reduce test network
jarsarasty Jul 20, 2025
f4d2f83
adjust style and format
jarsarasty Jul 21, 2025
f1d0864
bug fix air_water_heat_pump_elec + add test case (#315)
KobusVanRooyen Jul 24, 2025
6a296e9
fix test_electrolyzer_inequality tests
jarsarasty Jul 24, 2025
5fe3ae8
fix test_end_scenario_sizing_head_loss
jarsarasty Jul 24, 2025
3fa69d3
format
jarsarasty 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
89f9637
Merge branch 'main' of https://github.com/Multi-Energy-Systems-Optimi…
jarsarasty Sep 4, 2025
b75130a
fixc typo
jarsarasty Sep 9, 2025
c61bbd1
Add optional cost attributes for gas boiler and electricity cable to …
jarsarasty Sep 9, 2025
5325a5c
remove trailing space
jarsarasty Sep 9, 2025
bc387b8
Add error type check handling to asset converters and workflows
jarsarasty Sep 17, 2025
82d19c0
Add error type check to electrolyzer tests for cost validation bypass…
jarsarasty Sep 18, 2025
22538d5
Fix format
jarsarasty Sep 18, 2025
b59f1ac
Ensure proper handling of error_type_check in other workflows besides…
jarsarasty Sep 18, 2025
96440c2
modify `test_cost_input` to read profile from file instead of database
jarsarasty Sep 18, 2025
1b5c425
add atol to argument (#340)
plgbrts Sep 25, 2025
7d1c62e
Refactor validation logic to bypass checks when error checking is dis…
jarsarasty 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
c027bb2
Merge branch 'main' of https://github.com/Multi-Energy-Systems-Optimi…
jarsarasty Oct 27, 2025
ab2664a
black format
jarsarasty Oct 27, 2025
0a524d6
Asset_co_component_base: Fixed OPEX Now accepts both perTimeUnit=NONE…
jarsarasty Oct 29, 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
125 changes: 116 additions & 9 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,143 @@ 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

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

test:
name: Check test
- 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 -etest_env_main_1

# Main testing part 2
test_main_2:
name: Test main - 2
runs-on: ubuntu-latest
timeout-minutes: 5
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_2

# 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