Skip to content

Testing new stanify - replicated? datastructure? #42

Open
@hyunjimoon

Description

@hyunjimoon

@Dashadower compare_vensim_stan.mdl.zip below is a vensim file with the datastructure you've requested -- Light blue variable exog demand is datastructure and dark blue table for order fulfillment ratio is the table function. Could you please check the below?

  1. setting value for exog demand makes this variable no longer datastructure. If my memory is correct, you were trying to receive data only from vensim. However, I don't know how this can be implemented other than the original method (supplying value in python after declaring datastructure in vensim). Happy to be corrected!

  2. time series patterns are replicated in the result from stan's draws2data. For easy comparison, I've set exog demand is 2 * Time + 100 (this requires changing exog demand type (so it's not datastructure anymore ) as shown below.

image

With the value above, please make sure the overshoot of adj ss and smooth adjustment of adj s are visible in the stan-generated time series.
image

compare_vensim_stan.mdl.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions