Replies: 3 comments 4 replies
-
Hi @nicola907, there is a list of Vensim functions that are currently implemented in SDEverywhere here on the Supported Vensim Functions page on the wiki. The 3 functions you mention are not currently implemented in SDEverywhere, so the approach you're taking of implementing them yourself is a good one. If you're willing to contribute your implementation to SDEverywhere, that would be even better, see the Contributor Guide for more details. If you make progress with your game that makes use of SDEverywhere and have anything to show off, we'd be very interested in seeing it, please share if you can! |
Beta Was this translation helpful? Give feedback.
-
Hi @nicola907, I will add that the model test setup in the Contributor Guide is a good way to validate your function implementations against Vensim even if you are not contributing. If you want to add them to the supported functions in SDEverywhere, edit |
Beta Was this translation helpful? Give feedback.
-
I have implemented the functions _RANDOM_NORMAL and _RANDOM_UNIFORM in this way. Is this correct?
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone.
I want to create a videogame with Unreal Engine, that is based on C/C++, which simulates a Vensim model.
I tried to generate the C/C++ code using the following command:
sde build mymodel.mdl
but I got the following errors:
So far I tried to work around this problem by implementing the functions _RANDOM_NORMAL, _GET_TIME_VALUE and _RANDOM_UNIFORM by myself. But I am not sure if that's correct.
Beta Was this translation helpful? Give feedback.
All reactions