AlgebraicJulia / StockFlow.jl

https://algebraicjulia.github.io/StockFlow.jl/
MIT License
65 stars 6 forks source link

Composition examples now use @stock_and_flow and StockAndFlowF syntax… #30

Closed neonWhiteout closed 1 year ago

neonWhiteout commented 1 year ago

…. Renamed files to not have spaces.

There was a particular example in which I had to use StockAndFlowF as opposed to @stock_and_flow because one of the sum variables had nothing which contributed to it, but that may have been fixed by now.

There were also a few cases where a function to determine a variable used an integer, which can't be done with @stock_and_flow, so I just created a new parameter for those specifically.

I suspect there may need to be some edits before merging, perhaps reverting the file names.

neonWhiteout commented 1 year ago

Additionally replaced StockAndFlow in convert_from_SEIR_stockFlowDiagram with StockAndFlowF. Graph is now different, as it includes parameters and intermediate variables.

neonWhiteout commented 1 year ago

Says the composition notebooks are invalid as it can't find the path to the diagrams in markdown I'll fix that

neonWhiteout commented 1 year ago

Closing. Will create a new request when examples are edited to not duplicate variables, and old examples are added back.