Menu Close

leonardo-frid

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 211 total)
  • Author
    Posts
  • in reply to: Calculated Values #7190
    leonardo-fridleonardo-frid
    Keymaster

    The cell size calculation is for area and is in the “amount units” that you define under the “Project Properties | Terminology Tab”.
    For some raster projections, SyncroSim may not be able to calculate the cell size in which case you can use the the “Override” checkbox.

    in reply to: About “A child process exited abnormally with code -1” #7188
    leonardo-fridleonardo-frid
    Keymaster

    Hi Hanwei,

    The short answer to your question is yes, ST-Sim can be run on a cluster and has been done so by others. Most recently this study: https://onlinelibrary.wiley.com/doi/abs/10.1111/gcb.14677

    The long answer is that this is a fairly complicated process that will require you to run on linux and use the syncrosim command line and/or rsyncrosim package.

    Regards,
    Leonardo

    leonardo-fridleonardo-frid
    Keymaster

    Hi Hanwei,

    This System.OutOfMemoryException usually means that there is not enough RAM on your computer to handle the memory required for the simulation. You need to either reduce the number of jobs you are running or run this simulation on a computer with more memory.

    Regards,
    Leonardo

    in reply to: Help with rsyncosim. Error in loading library #7177
    leonardo-fridleonardo-frid
    Keymaster

    Hi Kevin,

    Yes, your package versions are older than what is needed to open the library. In the original machine you must have had more recent packages, or even a more recent version of the SyncroSim core installed. You should upgrade the new machine to whatever versions you had in the original machine.

    Regards,
    Leonardo

    in reply to: Help with rsyncosim. Error in loading library #7176
    leonardo-fridleonardo-frid
    Keymaster

    Hi Kevin,

    Yes, your package versions are older than what is needed to open the library. In the original machine you must have had more recent packages, or even a more recent version of the SyncroSim core installed. You should upgrade the new machine to whatever versions you had in the original machine.

    Regards,
    Leonardo

    in reply to: Time Since Transition – Advanced Settings #7141
    leonardo-fridleonardo-frid
    Keymaster

    The configuration that you describe above is fine. The opposite, having a single transition type twice for two different transition groups, would not work.

    in reply to: Increasing number of digits displayed in transition screen #7125
    leonardo-fridleonardo-frid
    Keymaster

    Hi David,
    There is a way to manually configure this using the module.config xml file for ST-Sim.

    For version 2.0.44 the latest full release, this file is found in \Users\[user name]\Documents\SyncroSim\Modules\stsim\module.config

    navigate to the line that looks like this (line 364 in version 3.1.44 of stsim):

    column name=”Probability” dataType=”Double” validationType=”Decimal” allowDbNull=”False”/

    and add the following column attribute: format=”N8″ so that the line now looks like this:

    column name=”Probability” dataType=”Double” validationType=”Decimal” allowDbNull=”False” format=”N8″/

    This will make the field show 8 decimal places. If you want more decimal places simply replace the 8 with the value that you want.

    Note that in future the directory for these config files will be:
    \Users\[user name]\Documents\SyncroSim\Packages\stsim\package.config

    We will consider in future making the number of decimal places visible configurable via the UI.

    Regards,
    Leonardo

    in reply to: Multiple transition pathway dependencies #7105
    leonardo-fridleonardo-frid
    Keymaster

    Hi David,

    Your question is timely. The ability to merge dependencies as you suggest in not available in the most recent version of SyncroSim (2.0.44). However, we are currently working on this feature and it should be available in an upcoming version of SyncroSim 2.1.X a couple of releases from now. In the meantime, when a scenario property is defined in multiple dependency scenarios, the scenario that is higher up in the dependency tree is the only one that will be used at runtime. The “Data Sources” tab is always a quick way to find the source scenario for each scenario property.

    Regards,
    Leonardo

    in reply to: Example of calling external R script from ST-Sim #7069
    leonardo-fridleonardo-frid
    Keymaster

    Hi Val,

    I have posted an example of how to do this here: http://www.apexrms.com/download/6717/

    This example works with a minimum of SyncroSim 2.0.42, ST-Sim 3.1.42, and rsyncrosim 1.0.6. It should be forward compatible to future versions.

    Note that to run this on the scenario properties under “Advanced | External Program” you need to point to the correct locations for the “externalProgramScript.R” file that is included in the zip as well as the correct location for your Rscript.exe, usually found in “…/Program Files/R/R-VERSION/bin/”.

    There are two scenarios in the library, the first does not use the external program and the second does. In this example, the external program makes timber harvest conditional on the amount of a state attribute (ungulate winter habitat). The first scenario targets 10,000 acres of harvest per year. The second scenario makes this target conditional on habitat being above 12,000 acres, otherwise it sets the harvest target to 0.

    Regards,
    Leonardo

    in reply to: Modeling the Land Cover Future #7006
    leonardo-fridleonardo-frid
    Keymaster

    Hi Hanwei,

    Could you please clarify your questions a bit?
    1. What do you mean by “accurate result”? When you run many realizations, you can get the output for individual realizations either in the charts or when you export the data. Typically when we run the model we run for at least 40 MC realizations and look at the average, or median and at the 95% MC confidence intervals.
    2. There are several possible reasons why your results don’t match your input targets: it could be that there is not enough area available for the transition (in this case not enough area would transition), it could also be some kind of a configuration error (for example in a spatial run transition targets must apply to individual types and/or transition simulation groups). If you want to send me your library I could take a look and see what the reason is specifically in your case.

    Regards,
    Leonardo

    in reply to: Random Number Seed #6989
    leonardo-fridleonardo-frid
    Keymaster

    Hi James, currently there is no way in SyncroSim to set the random seed used for a simulation. This is a feature we have discussed adding and may become available soon.

    leonardo-fridleonardo-frid
    Keymaster

    Also here is a link to the documentation page for adjacency multipliers:
    http://doc.syncrosim.com/index.php?title=Transitions_-_Spatial#Adjacency_Multipliers

    leonardo-fridleonardo-frid
    Keymaster

    I suspect that you are correct that you have not setup attribute values correctly. the steps to use adjacency multipliers are the following:
    1. create the state attribute types (Project Properties | Advanced | Attributes | State Attributes) that you will need to apply your adjacency multipliers. For example if your transition depends on a derrived function of the state classes in the neighborhood of the cell that might transition such as population density, then you would create a state attribute type called “population density”.
    2. define the “State Attribute Values” associated with each state class (Scenario Properties | Advanced | Attributes | State Attribute Values). This is the value of for example “population density” associated with each state class in your model. You need only include state classes that have a population density.
    3. Define the transition adjacency settings (Advanced | Transitions Spatial | Transition Adjacency Multipliers | Transition Adjacency Settings). These include, the radius for your moving window analysis. The attribute type that applies to each transition group and the frequency at which you want to apply your moving window analysis.
    4. Define the transition adjacency multipliers (Advanced | Transitions Spatial | Transition Adjacency Multipliers | Transition Adjacency Multipliers). This is the relationship between the average attribute values (i.e., population density in this example) and the multiplier you want to apply to the transition probability. Note that the model interpolates between values. In your example, your multiplier will likely be zero or very low if the attribute value is zero and increase as a function of an increase in population density within the moving window analysis.

    Things could go wrong if: your radius is too small, ie. it does not include neighboring cells; if you did not define state attribute values or there may be other use cases where things are not setup properly. If you are still not able to figure out the problem, you could send me your library to take a quick look.

    in reply to: System.Data.SQLite.dll #6545
    leonardo-fridleonardo-frid
    Keymaster

    Hi Hanwei,

    First of all, my apologies for the delayed reply. Second, here are some new things to try:

    The link higher up in the thread is out of date. It should be:

    https://www.microsoft.com/en-us/download/details.aspx?id=53587

    And also, you must have “Service Pack 1” of Windows 7 according to this page. Note that SP1 should be installed before installing SyncroSim because (I suspect) that the setup pack’s “VC ++ Merge Module” installer will silently not work if you don’t have at least this version.

    Please try these steps and let us know if that resolves your problem.

    Regards,
    Leonardo

    in reply to: System.Data.SQLite.dll #6483
    leonardo-fridleonardo-frid
    Keymaster

    Did you already try the following from our installation instructions page:

    If you get the message Could not load file or assembly ‘System.Data.SQLite.dll’ or one of its dependencies then you are missing a required Microsoft update. To fix the problem, go to https://www.microsoft.com/en-ca/download/details.aspx?id=30679, click Download, and then select and run the file VSU_4\vcredist_x64.exe

    If you did and still have the problem, could you please tell me what version of SyncroSim you are using?

    Thanks,
    Leonardo

Viewing 15 posts - 61 through 75 (of 211 total)