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 "Software Integration to R"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Cristian Farfan Llanos

Subject: Software Integration to R   
Posted: 2/5/2023 Viewed: 3574 times
Hello! is there any way to integrate WEAP to R language programming? I would like to code perzonalized graphics for the WEAP's outputs. I also want to run the model in R iteratively. Thanks in advance!
Mr. Doug Chalmers

Subject: Re: Software Integration to R   
Posted: 2/5/2025 Viewed: 73 times
Cristian and for those wondering,

You can run and export the model using Visual Basic Editor, as described in the WEAP Help for "Exploring the API". If you use Visual Basic to run and export result files, then you could write an R script to automatically produce graphics using the result files exported.

To my knowledge, R does not directly connect with the WEAP API.

Apologies for the delayed response.
Topic "Software Integration to R"