-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
In the attachment you’ll find an ESDLfile that I showed during the DesignTool Kit support meeting [20251106].
There are 3 files:
File 1 – not duplicated ESDLfile.
This ESDLfile was put together using a Python script. The Python script only uses the PyESDL library (https://pypi.org/project/pyESDL/). The ESDL objects are created with only 1 port (InPort if consumer, OutPort if producer). The 'opposite' port is created during duplication (as I explained during the meeting).
All capacities and capacity units, supply carriers (the return carrier is created during duplication), profiles, and multipliers are created in the Python script using PyESDL library and added to the objects and the ESDL file.
File 2 – duplicated ESDLfile
note: during duplication it sometimes happens that the port is duplicated incorrectly, about 50% of the time [spooky deterministic problem].
Duplication was done in the normal DesignTool Kit interface (https://nwn-design-toolkit.nl/).
File 3 – result file.
This file is calculated in about 9 minutes using Gurobi.
This is way faster the the non commercial solver.
But the result is --- NULL ---
Where does it go wrong?
The obvious suspect is of course that I generated the file using PyESDL. But in the NWN interface nothing looks wrong with file 1. Carriers, units, multipliers, and profiles are correct and visible.
ESDLexport.txt
ESDLexport-return.txt
ESDLexport-return-result.txt
Kind regards,
Andries