Skip to main content

Interact with the simulation framework Simplace

Project description

See the documentation at

Run and control simulations in the simulation framework Simplace.

You need to install the Simplace simulation framework

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'])

The module requires Java >= 8.0 and JPype1.

Project details

Download files

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

Files for simplace, version 4.3.2
Filename, size File type Python version Upload date Hashes
Filename, size simplace-4.3.2.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page