user-guide:additional_interfaces
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| user-guide:additional_interfaces [2025/01/16 11:32] – [Application Programming Interface] Tim | user-guide:additional_interfaces [2025/06/04 12:40] (current) – tim2 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| For example with the graphical user interface windows and panels are used for this communication: | For example with the graphical user interface windows and panels are used for this communication: | ||
| - | < | + | <uml> |
| + | !pragma teoz true | ||
| + | @startuml | ||
| hide footbox | hide footbox | ||
| + | title GUI | ||
| participant User | participant User | ||
| participant " | participant " | ||
| Line 23: | Line 25: | ||
| User -> GroIMP: Start GroIMP | User -> GroIMP: Start GroIMP | ||
| gui< | gui< | ||
| - | User <-> gui | + | & User <-> gui |
| @enduml</ | @enduml</ | ||
| - | ====== Headless mode ====== | + | If you are not sure what interface you need for your application you can consider the following page: [[user-guide: |
| - | GroIMP can be started without its graphical interface, in headless. The headless mode executes a provided model and afterwards closes GroIMP. Capturing any feedback from the simulation must be included in the model. | + | ====== |
| - | <uml> | + | {{namespace>user-guide: |
| - | @startuml | + | |
| - | hide footbox | + | |
| - | title Headless | + | |
| - | User -> GroIMP: Start GroIMP with model | + | ====== |
| - | GroIMP -> User: Print log & close GroIMP | + | |
| - | @enduml | + | |
| - | </ | + | |
| + | **<color # | ||
| - | More information on the headless mode: | + | GroIMP can be started |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | A tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ====== Command Line Interface ====== | + | |
| - | + | ||
| - | GroIMP can be started | + | |
| - | + | ||
| - | < | + | |
| - | hide footbox | + | |
| - | + | ||
| - | participant User | + | |
| - | participant " | + | |
| - | participant | + | |
| - | + | ||
| - | + | ||
| - | User -> GroIMP: Start GroIMP | + | |
| - | cli< | + | |
| - | User <-> cli | + | |
| - | + | ||
| - | @enduml</ | + | |
| - | + | ||
| - | More documentation on the CLI: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | A tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | ====== HTTP Server ====== | + | |
| - | + | ||
| - | It is possible to start GroIMP | + | |
| - | After GroIMP executed the model values can be returned to the HTTP client who send the request. It is possible to send several models in series or in parallel. | + | |
| - | + | ||
| - | < | + | |
| - | hide footbox | + | |
| - | title HTTP server | + | |
| - | + | ||
| - | User -> GroIMP: Start GroIMP | + | |
| - | User -> GroIMP: Send Model-path | + | |
| - | GroIMP -> User: Return result | + | |
| - | User -> GroIMP: Close GroIMP | + | |
| - | + | ||
| - | @enduml</ | + | |
| - | + | ||
| - | + | ||
| - | More information: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | Tutorial: | + | |
| - | * [[: | + | |
| - | + | ||
| - | ====== Application Programming Interface ====== | + | |
| - | + | ||
| - | GroIMP can be started | + | |
| <uml> | <uml> | ||
| @startuml | @startuml | ||
| + | !pragma teoz true | ||
| hide footbox | hide footbox | ||
| - | title API | + | title GroIMP server |
| participant User | participant User | ||
| - | participant | + | participant |
| - | participant API | + | participant |
| - | participant GroIMP | + | |
| - | User -> GroIMP: Start GroIMP | + | User -> g2: starts server side GroIMP |
| - | User -> ClientScript | + | User -> g1: starts client GroIMP |
| - | ClientScript | + | User <->g1 |
| - | API< | + | & g1<->g2 |
| - | User <- ClientScript | + | User -> g1: stops client |
| - | User -> GroIMP: Stop GroIMP | + | User -> g2: stops server |
| - | + | ||
| - | + | ||
| - | @enduml | + | |
| - | </uml> | + | |
| - | More information on the API: | + | |
| - | * [[: | + | |
| - | * [[https:// | + | |
| - | * [[: | + | |
| - | * [[https:// | + | |
| - | + | ||
| - | Tutorials: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | * [[: | + | |
| - | + | ||
| - | Existing examples: | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ====== GroIMP Server ====== | + | |
| - | + | ||
| - | GroIMP can be started as a server. Then, other instances of GroIMP | + | |
| + | @enduml</ | ||
| More information: | More information: | ||
| * [[: | * [[: | ||
| Line 162: | Line 70: | ||
| - | Parts of the GreenLab model were reimplemented in the language XL. As the basis, the implementation of the GreenLab model in the software [[http:// | + | Parts of the GreenLab model were reimplemented in the language XL with additional panels in the GUI. |
| + | As the basis, the implementation of the GreenLab model in the software [[http:// | ||
| More information on the Greenlab plugin: | More information on the Greenlab plugin: | ||
| Line 169: | Line 78: | ||
| A tutorial: | A tutorial: | ||
| * [[: | * [[: | ||
| + | * [[https:// | ||
user-guide/additional_interfaces.1737023553.txt.gz · Last modified: 2025/01/16 11:32 by Tim
