Skip to content

Releases: climateinteractive/SDEverywhere

compile: v0.7.0

28 Jun 21:29
a222904

Choose a tag to compare

0.7.0 (2022-06-28)

⚠ BREAKING CHANGES

  • The sdeverywhere package is deprecated and effectively replaced by @sdeverywhere/cli. Additionally, the sde generate --genhtml command and supporting code has been removed and will be replaced with a different solution in the near future.

Features

  • refactor into monorepo with compile and cli packages (#192) (8946f18), closes #191

cli: v0.7.0

28 Jun 21:29
a222904

Choose a tag to compare

0.7.0 (2022-06-28)

⚠ BREAKING CHANGES

  • The sdeverywhere package is deprecated and effectively replaced by @sdeverywhere/cli. Additionally, the sde generate --genhtml command and supporting code has been removed and will be replaced with a different solution in the near future.

Features

  • add build and plugin-{check,vite,wasm,worker} packages (#206) (dd34cbf), closes #203
  • refactor into monorepo with compile and cli packages (#192) (8946f18), closes #191

check-ui-shell: v0.1.0

28 Jun 21:29
a222904

Choose a tag to compare

0.1.0 (2022-06-28)

Features

check-core: v0.1.0

28 Jun 21:29
a222904

Choose a tag to compare

0.1.0 (2022-06-28)

Features

  • add build and plugin-{check,vite,wasm,worker} packages (#206) (dd34cbf), closes #203
  • add check-core and check-ui-shell packages (#202) (8d4fdce), closes #201

Bug Fixes

  • make runSuite proceed to completion when no checks are defined (#205) (32b2edb), closes #204

build: v0.1.0

28 Jun 21:29
a222904

Choose a tag to compare

0.1.0 (2022-06-28)

Features

  • add build and plugin-{check,vite,wasm,worker} packages (#206) (dd34cbf), closes #203

sdeverywhere: v0.6.0

04 Jun 01:11
07fd164

Choose a tag to compare

0.6.0 (2022-06-04)

Features

  • add runModelWithBuffers entry point that takes pre-allocated input/output buffers (#50) (083109a), closes #49
  • add basic support for GET DATA BETWEEN TIMES function (#42) (8a294aa), closes #33
  • add sde command for flattening parent+submodels (#59) (50e11ec), closes #58
  • add support for external data variables that use subscript or dimension (#41) (035ab5c), closes #32
  • add support for external data variables with > 2 dimensions (#47) (6683e63), closes #45
  • allow for specifying I/O variables using Vensim names in spec file (#61) (a6bc98d), closes #60
  • implement ALLOCATE AVAILABLE function (#106) (ebd0311)
  • implement DELAY FIXED function (#108) (bd3b3e8), closes #29
  • implement GET DIRECT CONSTANTS for CSV (#86) (beedd4f)
  • implement GET DIRECT DATA for CSV (#82) (b40e738), closes #81
  • implement GET DIRECT LOOKUPS including a test model (#99) (47f6fe5), closes #98
  • implement GET DIRECT SUBSCRIPT for CSV (#79) (51691e7)
  • implement NPV function (#95) (9fa17eb), closes #94
  • implement QUANTUM function (#89) (42225f9), closes #87
  • implement the <-> subscript alias operator (#80) (a43917f), closes #78
  • increase the number of dimension and array loop index vars (#138) (4c66470), closes #137
  • remove inline comments in the preprocessor (#74) (d23b1c3)
  • sort equations alphabetically when preprocessing mdl file (#56) (bb968f7), closes #55

Bug Fixes

  • abort code generation on finding a lookup of size zero (#162) (44c1202), closes #161
  • add async and await to some chained cli functions (#37) (afdbb77), closes #35
  • allow > 2 dimensions when generating Vensim array names (#155) (6575ea9), closes #154
  • allow extra index subscripts in 2D const lists (#110) (f5494af), closes #109
  • allow GET DIRECT CONSTANTS to use 2 subscripts in the same family (#144) (e53d876), closes #143
  • correct declarations when subscripted variable is initialized from data and constants (#116) (7c51641), closes #115
  • correct GET DIRECT DATA with mapped dim by directly comparing indices (#146) (fa2097b), closes #145
  • correct initialization of 2D arrays to allow dimensions with matching subscript names (#101) (2ed7e42), closes #84
  • emit any expression for the offset arg of VECTOR ELM MAP (#129) (bd0a724), closes #128
  • exclude data vars from initLevels (#127) (93a49cf), closes #126
  • expand references to vars with any number of separated dimensions (#112) (0d0d40e), closes #111
  • expand variables allowing for any number of indices in EXCEPT clause (#118) (d92343e), closes #117
  • fix LOOKUP FORWARD to correctly handle fractional inputs (#38) (c1f9580), closes #36
  • generate correct references for the ALLOCATE AVAILABLE priority profile (#136) (b1d8ae2), closes #135
    ...
Read more

0.5.3

30 Jul 01:17

Choose a tag to compare

This release contains a number of fixes that improve performance of the generated C code, especially when compiled down to WebAssembly.

Changes include:

  • Changed lookup initialization to use static arrays for improved Wasm performance (#18)
  • Split large functions reduce stack frame size (improves Wasm memory use and performance) (#19)
  • Replaced wrapper functions with C macros to reduce function call overhead (#22)
  • Optimized dimension name references to avoid array accesses (#23)
  • Improved performance of LOOKUP (#24)

0.5.2

03 Jun 16:43

Choose a tag to compare

This release includes lots of good fixes that more fully automate conversion of complicated MDL model files.

Changes include:

  • Moved tools to Python 3
  • Use the updated ANTLR-Version package
  • Improved support for two-dimensional arrays
  • Added handling of 2D constant arrays with subscripts in any order
  • Added support for dimension name references
  • Added support for ELMCOUNT
  • Added support for PULSE TRAIN
  • Updated documentation
  • Updated npm package dependencies

SDEverywhere 0.5.1

27 Sep 17:07

Choose a tag to compare

  • support multiple chartDatfiles delimited by semicolons in app.csv
  • override generated app styles in an optional custom.css file in the config folder
  • add optional varname prefix to readDat

SDEverywhere 0.5.0

24 Jul 19:04

Choose a tag to compare

  • web app generation uses simpler CSV configuration instead of YAML
  • three-dimensional arrays
  • :EXCEPT: subscripts
  • two-dimensional const arrays
  • GET DIRECT DATA for Excel at code generation time
  • read output variables from DAT files to WITH LOOKUP variables
  • generate variable documentation in text and YAML formats
  • allow all special characters in variable names
  • improved coverage of subrange and mapping edge cases