You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Automatic Model Coupling](#automatic-model-coupling)
16
+
-[Flexibility with Precision Control](#flexibility-with-precision-control)
17
+
-[Batteries included](#batteries-included)
18
+
-[Ask Questions](#ask-questions)
19
+
-[Installation](#installation)
20
+
-[Example usage](#example-usage)
21
+
-[Simple example](#simple-example)
22
+
-[Model coupling](#model-coupling)
23
+
-[Multiscale modelling](#multiscale-modelling)
24
+
-[Projects that use PlantSimEngine](#projects-that-use-plantsimengine)
25
+
-[Performance](#performance)
26
+
-[Make it yours](#make-it-yours)
12
27
13
28
## Overview
14
29
15
-
`PlantSimEngine` is a modelling framework for simulating and modelling plants, soil and atmosphere. It provides tools to **prototype, evaluate, test, and deploy** plant/crop models at any scale, with a strong emphasis on performance and efficiency.
30
+
`PlantSimEngine` is a comprehensive framework for building models of the soil-plant-atmosphere continuum. It includes everything you need to **prototype, evaluate, test, and deploy** plant/crop models at any scale, with a strong emphasis on performance and efficiency, so you can focus on building and refining your models.
16
31
17
-
**Key Features:**
32
+
**Why choose PlantSimEngine?**
18
33
19
-
- Process Definition: Easily define new processes such as light interception, photosynthesis, growth, soil water transfer, and more.
20
-
- Interactive Prototyping: Fast and interactive prototyping of models with built-in constraints to avoid errors and sensible defaults to streamline the model writing process.
21
-
- Control Degrees of Freedom: Fix variables, pass measurements, or use simpler models for specific processes to reduce complexity.
22
-
- Automatic Management: The package automatically manages input and output variables, time-steps, objects, and the coupling of models using a dependency graph.
23
-
- Flexible Model Switching: Switch between models without changing any code, using a simple syntax to specify the model for a given process.
24
-
- Integrated Data Use: Force variables to take measured values instead of model predictions, reducing degrees of freedom during model development and increasing accuracy during production mode.
25
-
- High-Performance Computation: Achieve high-speed computations, with benchmarks showing operations in the 100th of nanoseconds range for complex models (see this [benchmark script](https://github.com/VirtualPlantLab/PlantSimEngine.jl/blob/main/examples/benchmark.jl)).
26
-
- Parallel and Distributed Computing: Out-of-the-box support for sequential, multi-threaded, or distributed computations over objects, time-steps, and independent processes, thanks to [Floops.jl](https://juliafolds.github.io/FLoops.jl/stable/).
27
-
- Scalability: Scale easily with methods for computing over objects, time-steps, and [Multi-Scale Tree Graphs](https://github.com/VEZY/MultiScaleTreeGraph.jl).
28
-
- Composability: Use any types as inputs, including [Unitful](https://github.com/PainterQubits/Unitful.jl) for unit propagation and [MonteCarloMeasurements.jl](https://github.com/baggepinnen/MonteCarloMeasurements.jl) for propagating measurement error.
34
+
-**Simplicity**: Write less code, focus on your model's logic, and let the framework handle the rest.
35
+
-**Modularity**: Each model component can be developed, tested, and improved independently. Assemble complex simulations by reusing pre-built, high-quality modules.
36
+
-**Standardisation**: Clear, enforceable guidelines ensure that all models adhere to best practices. This built-in consistency means that once you implement a model, it works seamlessly with others in the ecosystem.
37
+
-**Optimised Performance**: Don't re-invent the wheel. Delegating low-level tasks to PlantSimEngine guarantees that your model will benefit from every improvement in the framework. Enjoy faster prototyping, robust simulations, and efficient execution using Julia's high-performance capabilities.
29
38
30
-
**Benefits:**
39
+
## Unique Features
31
40
32
-
Improved Accuracy and Reliability:
41
+
### Automatic Model Coupling
33
42
34
-
- Enhance the accuracy of plant growth and yield predictions by integrating detailed physiological processes and environmental interactions.
35
-
- Reduced Modeling Time: Streamline the modeling process with automated management and fast prototyping capabilities.
36
-
- Collaborative Research: Facilitate collaborative research efforts with flexible and composable modeling tools.
43
+
**Seamless Integration:** PlantSimEngine leverages Julia's multiple-dispatch capabilities to automatically compute the dependency graph between models. This allows researchers to effortlessly couple models without writing complex connection code or manually managing dependencies.
44
+
45
+
**Intuitive Multi-Scale Support:** The framework naturally handles models operating at different scales—from organelle to ecosystem—connecting them with minimal effort and maintaining consistency across scales.
46
+
47
+
### Flexibility with Precision Control
48
+
49
+
**Effortless Model Switching:** Researchers can switch between different component models using a simple syntax without rewriting the underlying model code. This enables rapid comparison between different hypotheses and model versions, accelerating the scientific discovery process.
-**Iterative Development**: Fast and interactive prototyping of models with built-in constraints to avoid errors and sensible defaults to streamline the model writing process.
55
+
-**Control Your Degrees of Freedom**: Fix variables to constant values or force to observations, use simpler models for specific processes to reduce complexity.
56
+
-**High-Speed Computations**: Achieve impressive performance with benchmarks showing operations in the 100th of nanoseconds range for complex models (see this [benchmark script](https://github.com/VirtualPlantLab/PlantSimEngine.jl/blob/main/examples/benchmark.jl)).
57
+
-**Parallelize and Distribute Computing**: Out-of-the-box support for sequential, multi-threaded, or distributed computations over objects, time-steps, and independent processes, thanks to [Floops.jl](https://juliafolds.github.io/FLoops.jl/stable/).
58
+
-**Scale Effortlessly**: Methods for computing over objects, time-steps, and [Multi-Scale Tree Graphs](https://github.com/VEZY/MultiScaleTreeGraph.jl).
59
+
-**Compose Freely**: Use any types as inputs, including [Unitful](https://github.com/PainterQubits/Unitful.jl) for unit propagation and [MonteCarloMeasurements.jl](https://github.com/baggepinnen/MonteCarloMeasurements.jl) for measurement error propagation.
37
60
38
61
## Ask Questions
39
62
@@ -57,7 +80,7 @@ using PlantSimEngine
57
80
58
81
The package is designed to be easy to use, and to help users avoid errors when implementing, coupling and simulating models.
59
82
60
-
### Simple example
83
+
### Simple example
61
84
62
85
Here's a simple example of a model that simulates the growth of a plant, using a simple exponential growth model:
63
86
@@ -193,55 +216,55 @@ fig
193
216
194
217

195
218
196
-
### Multiscale modelling
219
+
### Multiscale modelling
197
220
198
-
> See the [Multi-scale modeling](#multi-scale-modeling) section for more details.
221
+
> See the Multi-scale modeling section of the docs for more details.
199
222
200
223
The package is designed to be easily scalable, and can be used to simulate models at different scales. For example, you can simulate a model at the leaf scale, and then couple it with models at any other scale, *e.g.* internode, plant, soil, scene scales. Here's an example of a simple model that simulates plant growth using sub-models operating at different scales:
-[PlantBiophysics.jl](https://github.com/VEZY/PlantBiophysics.jl) - For the simulation of biophysical processes for plants such as photosynthesis, conductance, energy fluxes, and temperature
345
+
-[XPalm](https://github.com/PalmStudio/XPalm.jl) - An experimental crop model for oil palm
346
+
347
+
## Performance
348
+
349
+
PlantSimEngine delivers impressive performance for plant modeling tasks. On an M1 MacBook Pro, a toy model for leaf area over a year at daily time-scale took only 260 μs to perform (about 688 ns per day), and 275 μs (756 ns per day) when coupled to a light interception model. These benchmarks demonstrate performance on par with compiled languages like Fortran or C, far outpacing typical interpreted language implementations.
350
+
351
+
For example, PlantBiophysics.jl, which implements ecophysiological models using PlantSimEngine, has been measured to run up to 38,000 times faster than equivalent implementations in other scientific computing languages.
324
352
325
-
## Make it yours
353
+
## Make it yours
326
354
327
-
The package is developed so anyone can easily implement plant/crop models, use it freely and as you want thanks to its MIT license.
355
+
The package is developed so anyone can easily implement plant/crop models, use it freely and as you want thanks to its MIT license.
328
356
329
357
If you develop such tools and it is not on the list yet, please make a PR or contact me so we can add it! 😃 Make sure to read the community guidelines before in case you're not familiar with such things.
0 commit comments