Skip to main content

Interact with the simulation framework Simplace

Project description

See the documentation at https://simplace.readthedocs.io/

Run and control simulations in the simulation framework Simplace.

You need to install the Simplace simulation framework https://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 >= 11.0 and python packages numpy 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.

Source Distribution

simplace-5.0.0.tar.gz (21.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page