Menu Close

Leonardo Frid

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 203 total)
  • Author
    Posts
  • in reply to: Error loading ssim #21442
    Leonardo FridLeonardo Frid
    Keymaster

    Just a follow-up: when expanding the details of the message there was an additional note “The given key was not present in the dictionary.” My apologies that this is not the most informative error. In the case of your library it appears that there are scenarios referencing a project that does not exist in the library. Somehow it looks like the project got deleted but the scenarios did not. Is this a library that was accessible on a network via multiple users? One possible use case leading to this problem is multiple users making edits to the library at the same time.

    in reply to: Error loading ssim #21441
    Leonardo FridLeonardo Frid
    Keymaster

    Hi Kevin, Please send us the library and let us know what versions of SyncroSim and packages you are using.

    in reply to: ST-Sim Library with an external program example #21384
    Leonardo FridLeonardo Frid
    Keymaster

    The steps to run an External Program using a Python script are similar to the above example, with a few minor changes outlined below.

    The example was created using the following software and packages:

    You can use the same ST-Sim Library as the above example. However, you will also need to download the external program Python script example here.

    Update the External Program Datasheet within the Scenario Properties to include your Python executable file and Python script.

    External Program - Python

    Follow the remaining instructions above to retrieve the desired outputs.

    in reply to: Availability of Burn-P3+ #21322
    Leonardo FridLeonardo Frid
    Keymaster

    Note that you will need the latest SyncroSim release (2.4.10).

    in reply to: Availability of Burn-P3+ #21304
    Leonardo FridLeonardo Frid
    Keymaster

    Hi David,

    There is a Beta version (0.3.4) now available. You can find more info, and a Getting Started tutorial here:
    https://burnp3.github.io/BurnP3Plus/getting_started.html

    Cheers,
    Leonardo

    in reply to: Availability of Burn-P3+ #21276
    Leonardo FridLeonardo Frid
    Keymaster

    Thanks for reaching out David. We are planning for a Beta release by October 28th, 2022. Will let you know when it is ready.

    Leonardo FridLeonardo Frid
    Keymaster

    Hi Anthony,

    Sarah is correct, spread distance is accumulated over time for each possible source and destination cell combination. ST-Sim uses the age of the source cell as a proxy for how much time has elapsed and hence how many draws to make from the spread distribution for each source/destination vector. For this reason, the initial age of the source cells is important. In your simulations you will see spread happening soonest to neighbors of the oldest source cells. Spread distance is calculated from center to center. When this distance threshold is exceeded, the destination cell will transition.

    Regards,
    Leonardo

    in reply to: Grid for stock flow model flow values independent of state #21149
    Leonardo FridLeonardo Frid
    Keymaster

    Hi David,

    Yes, that’s possible. You would use the Flow Spatial Multipliers. See https://docs.stsim.net/reference/prop_stockflow_flow_spatial_mults.html

    Cheers,
    Leonardo

    in reply to: Grouping state classes #21129
    Leonardo FridLeonardo Frid
    Keymaster

    Hi Audrey,

    You can define State Class groupings using State Attribute Values. However, there is currently no way to define probabilities or probability multipliers across State Class groupings.

    Probabilities can be defined at the level of individual State Classes in the Transition Pathways.

    Probabilities can also be defined at the level of State Class and/or Strata in Transition Multipliers.

    in reply to: Advanced menu -> Referenc Condition #21074
    Leonardo FridLeonardo Frid
    Keymaster

    There is a new release of the stsimecodep package (version 3.3.1) that fixes this problem. This was an incompatibility with the most recent version of SyncroSim. You can install this version of the package from the Windows interface by going to “File | Packages | Install” or update from an older version using “File | Packages | Update”.

    in reply to: How much memory will my SyncroSim run need? #21002
    Leonardo FridLeonardo Frid
    Keymaster

    The amount of memory that a SyncroSim/ST-Sim run will require depends on a number of factors including: Landscape size, model complexity, number of concurrent jobs being used for multiprocessing. The latter is something an end user has control over, with the tradeoff being between run times and memory usage. Something I often do when trying to decide how much memory to allocate to a VM for a particular simulation is to run a test simulation for a single realization of my model for a couple of timesteps. After starting the simulation I fire up the resource monitor and track it to identify peak memory use. This will allow me to calculate memory required per job, and decide on the amount of memory to allocate to my VM and how many multiprocessing jobs I should be targeting. Users can set the maximum number of concurrent jobs from the Windows interface under “File | Library Properties | Multiprocessing” or by editing the core_Multiprocessing datahseet with rsyncrosim, pysyncrosim, or the console.

    in reply to: Library size #20980
    Leonardo FridLeonardo Frid
    Keymaster

    Hi Brian,

    You can try the following:
    In the Windows Interface: File | Compact [note that this can take a few minutes for a large library]

    Cheers,
    Leonardo

    in reply to: pysyncrosim – scenarios, datafeeds and datasheets #20948
    Leonardo FridLeonardo Frid
    Keymaster

    Q: Is there a way, other than using try and except( for when the datasheet call fails), to determine which datasheets are active in a scenario – ala replicate the datafeeds tab in the GUI?
    A: This is a good idea for a feature. It does not currently exist but we will consider implementing it.

    Q: Also is there a crosswalk between the datafeed names and the datasheet names?
    A: Another good idea. We will also consider implementing.

    Thanks for the great suggestions!

    in reply to: Tracking deterministic transitions #20947
    Leonardo FridLeonardo Frid
    Keymaster

    Hi Audrey,

    There currently is no way to output deterministic transitions. One thing you could do is setup your succession transitions as probabilistic transitions with a minimum age at the age when the succession transition occurs and a probability of 1. These would then essentially be deterministic and you would get output for them.

    Regards,
    Leonardo

    in reply to: Stock limit observance #20938
    Leonardo FridLeonardo Frid
    Keymaster

    Just a quick follow-up that there actually was a bug in stsim sf whereby the limits are not properly checked when the cell size is not equal to 1 area unit. Absolute stock amounts on a cell were being compared to limits on stock density per unit area. A fix will be ready shortly in the package stsimsf v3.3.5.

Viewing 15 posts - 1 through 15 (of 203 total)