modelcreate / model-view

Model View - Share and view models in the browser
https://view.modelcreate.com
GNU Affero General Public License v3.0
21 stars 11 forks source link

How to create INP file #53

Closed anniemark271983 closed 1 year ago

anniemark271983 commented 1 year ago

Hi

can any one help me how can i create my own INP file using node js coding

lbutler commented 1 year ago

Check out the epanet-js library that allows you to use any of the original epanet API functions that also include the ability to programatically create a network and save it to INP or run a simulation.

https://github.com/modelcreate/epanet-js

Some references that may be helpful: https://epanetjs.com/introduction/examples/#new-model-builder-api https://epanetjs.com/api/project-functions/network-node/#addnode