Forum Replies Created
-
AuthorPosts
-
April 2, 2020 at 4:42 pm in reply to: error exporting Transitions by State Class excel spreadsheet #19825leonardo-fridKeymaster
Hi David,
You can indeed export this report as a csv already. When you get the dialog that asks for a file name and location, near the bottom there is a field called “Save as type:” where you can specify CSV File (*.csv).
Let me know if that solves your problem.
Regards,
LeonardoFebruary 25, 2020 at 10:19 pm in reply to: Spatial Inputs not being reinitialized between runs #19759leonardo-fridKeymasterAre you updating the initial conditions files in the User Interface, rsyncrosim, or directly on the file system?
leonardo-fridKeymasterHi David,
Internally input files are by default stored in a folder parallel to the library with the following path
[library filename].ssim.input\Scenario-[Id]\[datasheet name]\filename
For example:
spatial-example.ssim.input\Scenario-16\stsim_InitialConditionsSpatial\initial-age.tifYou can change the root of the folder where input files are stored under:
File | Library Properties | FoldersFebruary 25, 2020 at 7:02 pm in reply to: What are Transition Spatial Initiation Multipliers? #19753leonardo-fridKeymasterTransition Spatial Initiation Multipliers are similar to transition spatial multipliers but they do not modify the transition probability, instead they affect only the probability that a particular simulation cell will be used as the starting location of a transition event. Traditionally these have been used to incorporate things like the impact of proximity to roads, campsites and dwellings on on the probability of a fire ignition.
Will try to get the documentation updated as soon as possible.
leonardo-fridKeymasterHi David,
Based on your version and this message it looks like you have either assigned a target to an individual transition type that already belongs to a transition simulation group or you have assigned the target to a transition group that is not defined as a transition simulation group.
If your target is assigned against a transition type, i.e, in the Transition Targets you have selected something like “Thinning [Type]” as the Transition Type/Group, then:
1. Check what transition groups this type belongs to under Definitions | Transitions | Advanced | Transition Types by Group
2. Next check if any of the groups this type is assigned to is a “Transition Simulation Group” under Definitions | Transitions | Advanced | Transition Simulation Groups If they are there then the target should either be assigned to this transition simulation group or the Transition type needs to be removed from this group, or the transition group needs to be removed from the transition simulation groups.If your target is assigned against a Transition Group, i.e, something like “All Thinning Transitions” then be sure that the group contains all of the transition types that you want the target to apply to under Definitions | Transitions | Advanced | Transition Types by Group and be sure that the Transition Group is assigned as a Transition Simulation Group under Definitions | Transitions | Advanced | Transition Simulation Groups.
If you are still having challenges with your targets after this you could send me your library and I can take a look.
Thanks,
Leonardoleonardo-fridKeymasterHi David,
First of all, it would be useful to know what version of the model you are running.
If the most recent version ST-Sim 3.2.X this probably does relate to the “transition simulation group”. For earlier versions this would be the “primary transition group”. Targets should only be applied to either individual transition types or to “Transition Simulation Groups”. Individual transition types should only belong to at most one transition simulation group.Did you get any warnings for your model run? You could see this by right clicking on the result scenario and selecting “Run Log”.
Regards,
Leonardoleonardo-fridKeymasterHi Kori,
Apologies that this post of yours went unnoticed. We are currently working on our documentation and guidance on using SyncroSim Lite is not yet posted. Will let you know when that is ready.
Regards,
Leonardoleonardo-fridKeymasterHi Kori,
Can you tell me the installed versions that you have for the following?
SyncroSim, ST-Sim, rsyncrosim.
Also when you look in “Documents\SyncroSim\Packages” what folder names do you see?Thanks,
Leonardoleonardo-fridKeymasterHi David,
It is true that there are hidden worksheets in the xlsx template. If you want to create an empty working template you could export an empty template from the user interface to xlsx and use that file as something you copy and append to via your scripts.
Regards,
Leonardoleonardo-fridKeymasterHi David,
Why not just export to csv? SyncroSim imports either xlsx or csv files. When importing a file in the GUI and locating your file in the browsing dialog you can select CSV Files (*.csv). This option is just above the Open and Cancel buttons.
If you are importing using rsyncrosim, just load your csv file into a dataframe with the correct field names and then use the saveDatasheet function.
Regards,
Leonardoleonardo-fridKeymasterThis bug is now fixed in the stsimsf package version 3.2.7.
The easiest way to get this fix is to install the latest version of SyncroSim and then open the user interface and navigate to: File | Packages and select Update….leonardo-fridKeymasterIn the meantime you could use the following code in rsyncrosim to get at your output:
library(rsyncrosim)
# Enter your library path between the quotes (i.e., c:\temp\myLib.ssim)
myLibrary = ssimLibrary(“Insert your library path here“)# Enter the id for the scenario you want to see results for here or alternatively a vector of scenario id values (i.e., c(1,2,3))
# Note that this is the result scenario inside the results folder for the scenario you ran.
myResultScenarioID = 1# Get the flow output into a dataframe
myFlowOutput = datasheet(myLibrary, name = “stsimsf_OutputFlow”, scenario = myResultScenarioID)
head(myFlowOutput)leonardo-fridKeymasterIt looks like there is a bug in the latest release of the stsimsf package (3.2.6). We’ll get this fixed right away.
leonardo-fridKeymasterHere are the new links:
1. Spatial Initial Conditions: http://docs.stsim.net/reference/prop_initial_conditions_spatial.html
2. Transition Spatial Multipliers: http://docs.stsim.net/reference/prop_transition_spatial_mults.htmlI have also fixed the broken links in the original post above.
Note that the new ST-Sim documentation at http://docs.stsim.net is still under construction but these two pages are complete. The old ST-Sim documentation can still be found at http://doc.syncrosim.com/index.php?title=SyncroSim
The new SyncroSim documentation can be found at http://docs.syncrosim.com.
leonardo-fridKeymasterHi Frédérik,
Given your info and that you can only have three types of strata I would do the following:
1. Primary Strata = Drought Exposure (Each drought exposure zone will get it’s own set of transition pathways).
2. Secondary Strata = Management Zones (you can define area targets by management zone).
3. Tertiary Strata = All possible combinations of Watersheds, Viewsheds, and Riverine Zone (you can report out results according to this or any other strata type).If your model is non spatial you will need to specify initial areas by combination of all three ST-Sim Strata Types (under Initial Conditions | Non-spatial). If your model is spatial you will need to input a raster (under Initial Conditions | Spatial) for each of the three ST-Sim strata types where each cell has an integer ID value corresponding to the ID value of the stratum specified in the ST-Sim “Project Properties”.
Regards,
Leonardo -
AuthorPosts