miravo 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/commands/start.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "miravo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Industrial environment platform with canonical asset models and MQTT + OPC UA protocol adapters",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@clack/prompts": "^1.1.0",
|
|
34
|
-
"@miravo/core": "0.2.
|
|
35
|
-
"@miravo/mqtt": "0.2.
|
|
36
|
-
"@miravo/opcua": "0.2.
|
|
37
|
-
"@miravo/shared": "0.2.
|
|
34
|
+
"@miravo/core": "0.2.3",
|
|
35
|
+
"@miravo/mqtt": "0.2.3",
|
|
36
|
+
"@miravo/opcua": "0.2.3",
|
|
37
|
+
"@miravo/shared": "0.2.3",
|
|
38
38
|
"commander": "^13.0.0",
|
|
39
39
|
"consola": "^3.4.0",
|
|
40
40
|
"mqtt": "^5.15.0"
|
package/src/commands/start.ts
CHANGED
|
@@ -702,12 +702,14 @@ function createAndPopulateEngine(
|
|
|
702
702
|
options.tick ?? template.settings?.tick_interval_ms ?? DEFAULT_TICK_INTERVAL_MS;
|
|
703
703
|
const timeMultiplier =
|
|
704
704
|
options.speed ?? template.settings?.time_multiplier ?? DEFAULT_TIME_MULTIPLIER;
|
|
705
|
+
const overrunThresholdMultiplier = template.settings?.overrun_threshold_multiplier;
|
|
705
706
|
|
|
706
707
|
const engine = createEngine({
|
|
707
708
|
simulationName,
|
|
708
709
|
seed,
|
|
709
710
|
tickIntervalMs,
|
|
710
711
|
timeMultiplier,
|
|
712
|
+
overrunThresholdMultiplier,
|
|
711
713
|
templateMetadata: {
|
|
712
714
|
name: template.name,
|
|
713
715
|
path: templatePath,
|