Welcome to WEAP's Website WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

LEAP
Interested in Energy?
Read about LEAP: SEI's software for energy planning.

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

All Topics | Topic "WEAP"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Jeffrey Newman

Subject: WEAP   
Posted: 5/21/2018 Viewed: 8885 times
Hi,

I have some questions regarding WEAP interfaces/APIs, related to a project where we are linking WEAP with a genetic algorithm for optimising water resource plans. Background to my question is that we need to run, say, a few hundred instances of WEAP simultaneously over a Linux cluster, in order to reduce the wall-time of our optimisation to something that is feasible.

Is it possible to run multiple instances of WEAP on a single desktop using the COM interface? We have done some initial testing and not found a way, but want to make sure we are not missing something here.

Also, what is the input file structure and is it documented that we could modify the input files programmatically to reflect the policy/management levers that we are optimising?

If it is feasible to programmatically modify WEAP input files, Is it possible to run a WEAP model from a command-line (non-GUI?)

Is there other ways of programmatically interfacing with WEAP that people have used that may be suitable for us?

We understand that the typical way of programmatically interfacing with WEAP is to use the COM interface. But this is a Windows-centric approach to linking WEAP with our optimisation, which is troublesome for running WEAP on the Wine emulator on Linux, which is the hardware we have available to us.

Cheers,
Jeff





Topic "WEAP"