-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add external data functions #121
Comments
Also an issue when you are interpolating from a timeseries: |
The data loading is actually a really interesting question, and one I haven’t given much thought to. The use case I have addressed is when you want to load the dataseries separately, and then replace an existing (constant) value with that data. In those cases, a new function is created (see here ) which is then substituted for the original. I suppose GET XLS DATA should probably use pandas to read from excel when the model is loaded. (After translation, when the translated model file is imported into the You can see that the stock instantiation line is created in the My guess is that we want to add to the We then need to add hooks to the Before doing any of that, we'll probably want to add a test file to the test suite that uses the functions we’re hoping to add, and make sure it is called in the |
Having had another 24 hrs to think about this, I think it would make sense to create a class for doing data loading and interpolation. It would probably extend the The This would probably fit better within the existing paradigm that any model element which is not purely an equation is instantiated as a |
Read from an external source, commands that call excel:
GET DIRECT DATA(...)
etc.The text was updated successfully, but these errors were encountered: