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.1.0.tar.gz (21.9 kB view details)

Uploaded Source

File details

Details for the file simplace-5.1.0.tar.gz.

File metadata

  • Download URL: simplace-5.1.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for simplace-5.1.0.tar.gz
Algorithm Hash digest
SHA256 868d83c32496509bbc2735df964bce431503e0b6f2acc49122f50227b072c238
MD5 6d6a7a00e2aa115fa50326a76af9afe1
BLAKE2b-256 e7e094596a3633de3960f3d656bcef108d95efca5628bb7d168946e16caa4fec

See more details on using hashes here.

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