Skip to content

Inconsistency with vensim script execution #8

@hyunjimoon

Description

@hyunjimoon

Vensim seemingly at random will throw out various issues:

  1. "please backup your model and run reform and clean"
  2. unable to reference memory instruction at {memory location}
  3. the save dialog box mentioned in issue Auto-clicking the vensim dialouge box #6
  4. no obvious error but it just fails silently (no csv is generated, but the return code is 1)
    None of these issues occur if vengine is started by clicking on the executable and then running the mdl file, or even running the cmd script from within vensim.

Just as a reference the following is the cmd file:

SPECIAL>NOINTERACTION
SPECIAL>LOADMODEL|CovidUSA-Econ-V79.mdl
SIMULATE>payoff|PayoffFlowV77-Policy.vpd
SIMULATE>sensitivity|
SIMULATE>optparm|COVID-V79-All.voc
SIMULATE>savelist|
SIMULATE>senssavelist|
SIMULATE>DATA|"CovidModelInputs - ConstantDataStates.vdf,CovidModelInputs - CRWStates.vdf,CovidModelInputs - DeathDataStates.vdf,CovidModelInputs - FlowDataStates.vdf,CovidModelInputs - FormattedDataStates.vdf,CovidModelInputs - TestDataStates.vdf"
SIMULATE>SETVAL|Sensitivity to Weather=2.85234

SIMULATE>RUNNAME|Covidparam_Sensitivity
SIMULATE>REPORT|1
MENU>RUN|o
MENU>VDF2CSV|!|!|../SAVEFILE.txt||||
SPECIAL>CLEARRUNS
MENU>EXIT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions