Skip to main content

Interact with the simulation framework Simplace

Project description

Run and control simulations in the simulation framework Simplace.

You need to install the Simplace simulation framework http://www.simplace.net/

Example usage:

>>> import simplace
>>> sh = simplace.initSimplace('/ws/','/runs/simulation/','/out/')
>>> simplace.openProject(sh, '/sol/Maize.sol.xml')
>>> simid = simplace.createSimulation(sh, {'vLUE':3.2,'vSLA':0.023})
>>> simplace.runSimulations(sh)
>>> result = simplace.resultToList(simplace.getResult(sh,'YearOut',simid))
>>> simplace.closeProject(sh)
>>> print(result['BiomassModule.Yield'])
805.45

The module requires Java >= 8.0 and an appropriate JPype1 package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplace-4.0.2.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page