Difference between revisions of "Modeling"

From wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
: ModSimPy is using Series from [[Pandas]] to store results. This adds handy functions.
 
: ModSimPy is using Series from [[Pandas]] to store results. This adds handy functions.
 
* The state of the model is stored in a Pandas Series too.
 
* The state of the model is stored in a Pandas Series too.
 +
* Put other interesting metrics in the state object too.

Revision as of 00:08, 19 December 2018

Mostly based on this paper that comes with its own modsim library.

Eyeopeners

  • Store results in a list.
for a in range(100):
    funcAresults[a] = functionAcall(bla,bla)
    funcBresults[a] = functionBcall(bla,bla)
ModSimPy is using Series from Pandas to store results. This adds handy functions.
  • The state of the model is stored in a Pandas Series too.
  • Put other interesting metrics in the state object too.