-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding pi to the functions #400
Comments
Hi, sure! This will be an easy addition. As far as I know, Pi is not defined by Vensim, so I suppose it will only be available in Stella. Could you create a test-model with canonical output that uses pi with an XMILE file? I currently have no access to Vensim or Stella, so I cannot create test models and run them with the original software. You may need to add your test model here https://github.com/SDXorg/test-models. You have all the instructions in the README. Let me know if you need help :) |
Hi ! Thanks for the reply , I also have no access to Stella or Vensim at the moment, actually I am working on another project where I try to create SD models using another program and then run the models with PySD (https://github.com/ScienceGamez/drawio_pysd) I have seen that only Vensim or Stella models can uploaded at the moment by I could give you maybe a python file contaning an AbstractModel for pysd if that would work for you ? But this might requires a bit too much work for what it is worth. |
Great work! Thanks for working on that tool it could be really useful for some people. About adding |
Already included it in dev branch. I will wait until we solve some other minor fixes to merge it to master and publish it. |
Thanks a lot ! |
Can we add pi as a function in pysd ?
It would be useful for one of my projects.
Simply adding the following in the function space of pysd/builders/python/python_functions.py
The text was updated successfully, but these errors were encountered: