Possible PALS workflows #113
Replies: 3 comments 4 replies
-
DatabaseThere was a discussion to have a database connection instead of a file graph BT;
F@{ shape: cyl, label: "Database" } <-->|???| R[ORM];
subgraph "PALS Implementation"
R<-->T[Translator];
end
Can we define/generate a default DB-Schema? |
Beta Was this translation helpful? Give feedback.
-
Pals App-File WriterUntil all codes implement PALS (far future), we have to rely on input file writing (and output reading). graph BT;
F@{ shape: lin-cyl, label: "XYZ.pals.format" } <-->|PALS-Format| R[Reader/Writer];
subgraph "PALS Implementation"
R<-->T[Translator];
end
T<-->|pals API| C["`PALS-*-converter`"];
C-->F2@{ shape: lin-cyl, label: "file.app" };
subgraph "Simulation Program"
F2-->App[Simulation];
end
App-->F3@{ shape: lin-cyl, label: "output.app" };
F3-->C;
App--> Results
|
Beta Was this translation helpful? Give feedback.
-
Using PALS without the translator?Until the PALS-Implementeation for every required language exists, it should still be possible to utilize a PALS-implementation for other languages to handle all the validation and higher functions and to write it down into a more verbose pals file: graph TB;
F@{ shape: lin-cyl, label: "XYZ.pals.format" } -->|PALS-Format| R[Reader/Writer];
subgraph "PALS Implementation"
R-->T[Translator];
T-->|expanded|R;
end
R-->|PALS-Format|F2@{ shape: lin-cyl, label: "expanded.pals.format" };
F2-->R2[Reader];
subgraph "Simulation Program"
R2-->|Keys/Values| I[Interface]
I-->App[Simulation];
end
In this workflow, directly editing the extended file is not advised. We might even enforce this with a checksum. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to collect the possible pals workflows. Feel free to add any missing workflows, or comment with suggestions.
This discussion is related to Discussion 33
Main Workflow
The primary workflow, that has been frequently presented:
graph BT; F@{ shape: lin-cyl, label: "XYZ.pals.format" } <-->|PALS-Format| R[Reader/Writer]; subgraph "PALS Implementation" R<-->|Keys/Values|T[Translator]; end subgraph "Simulation Program" T<-->|pals API| I[Interface Layer]; I-->App[Simulation]; App-->|"`updated parameters`"|I; end App--> ResultsConversion Workflow
This includes workflows like
graph LR; F@{ shape: lin-cyl, label: "XYZ.pals.format1" } -->|PALS-Format| R[Reader] subgraph "PALS Implementation" R-->T[Translator] T-->W[Writer] end W -->|PALS-Format| F2@{ shape: lin-cyl, label: "XYZ.pals.format1" };Simulation Native to Pals
The simulation program has a native file format or API, which then should allow to write PALS-files through the interface layer and PALS API.
graph TB; F@{ shape: lin-cyl, label: "file.app" } --> App[Simulation]; A[Code] -->|"`Simulation API`"| App[Simulation]; subgraph "Simulation Program" App-->|"`updated parameters`"|I; end subgraph "PALS Implementation"; I[Interface Layer]-->|pals API| T[Translator]; T-->W[Writer]; end W-->F2@{ shape: lin-cyl, label: "XYZ.pals.format" }Beta Was this translation helpful? Give feedback.
All reactions