Page 1 of 1

Data variables in Vensim 10.3 when publishing web

Posted: Tue Apr 29, 2025 9:01 am
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.

Re: Data variables in Vensim 10.3 when publishing web

Posted: Tue Apr 29, 2025 9:34 am
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.

Re: Data variables in Vensim 10.3 when publishing web

Posted: Mon May 05, 2025 8:36 am
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.