Data variables in Vensim 10.3 when publishing web

Use this forum to post Vensim related questions.
Post Reply
konsta_p
Junior Member
Posts: 2
Joined: Tue Apr 29, 2025 7:20 am
Vensim version: DSS

Data variables in Vensim 10.3 when publishing web

Post by konsta_p »

Hi.
The 10.3 Vensim release notes states that data variables are now available when publishing a model to the web. Does that include "GET XLS DATA" and if so, how to use it correctly?
The compiling is successfull, but all the "GET XLS DATA" variables get constatnt value of 1.

I also noticed that ^ (power operator) does not compile. The compiler yields "undefined symbol: POWER".
I fixed it by adding "-DPOWER=pow" argument to the emcc lines in wasm_compile.bat file.
Administrator
Super Administrator
Posts: 4827
Joined: Wed Mar 05, 2003 3:10 am

Re: Data variables in Vensim 10.3 when publishing web

Post by Administrator »

GET XLS is not supported yet (we are working on that though, it requires a lot more code to be migrated).

Thanks for the note about POWER, I'll fix that.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
konsta_p
Junior Member
Posts: 2
Joined: Tue Apr 29, 2025 7:20 am
Vensim version: DSS

Re: Data variables in Vensim 10.3 when publishing web

Post by konsta_p »

It seems that also other special characters cause problems when publishing web. If the variable needs quotation marks the model compiles, but does not load the data.
Post Reply