diff --git a/examples/pumpingstation-3pumps-dashboard/build_flow.py b/examples/pumpingstation-3pumps-dashboard/build_flow.py index e0fa6fc..b684504 100644 --- a/examples/pumpingstation-3pumps-dashboard/build_flow.py +++ b/examples/pumpingstation-3pumps-dashboard/build_flow.py @@ -1221,8 +1221,8 @@ def build_drivers_tab(): nodes.append(function_node( "sinus_fn", TAB_DRIVERS, LANE_X[1] + 220, y + 40, "sinus inflow (m³/s)", - "const base = 0.005; // m³/s (~18 m³/h always)\n" - "const amplitude = 0.03; // m³/s (~108 m³/h peak)\n" + "const base = 0.02; // m³/s (~72 m³/h always)\n" + "const amplitude = 0.10; // m³/s (~360 m³/h peak)\n" "const period = 120; // seconds per full cycle\n" "const t = Date.now() / 1000; // seconds since epoch\n" "const q = base + amplitude * (1 + Math.sin(2 * Math.PI * t / period)) / 2;\n" diff --git a/examples/pumpingstation-3pumps-dashboard/flow.json b/examples/pumpingstation-3pumps-dashboard/flow.json index 420f0d3..a5ace61 100644 --- a/examples/pumpingstation-3pumps-dashboard/flow.json +++ b/examples/pumpingstation-3pumps-dashboard/flow.json @@ -3787,7 +3787,7 @@ "type": "function", "z": "tab_drivers", "name": "sinus inflow (m\u00b3/s)", - "func": "const base = 0.005; // m\u00b3/s (~18 m\u00b3/h always)\nconst amplitude = 0.03; // m\u00b3/s (~108 m\u00b3/h peak)\nconst period = 120; // seconds per full cycle\nconst t = Date.now() / 1000; // seconds since epoch\nconst q = base + amplitude * (1 + Math.sin(2 * Math.PI * t / period)) / 2;\nreturn { topic: 'q_in', payload: q, unit: 'm3/s', timestamp: Date.now() };", + "func": "const base = 0.02; // m\u00b3/s (~72 m\u00b3/h always)\nconst amplitude = 0.10; // m\u00b3/s (~360 m\u00b3/h peak)\nconst period = 120; // seconds per full cycle\nconst t = Date.now() / 1000; // seconds since epoch\nconst q = base + amplitude * (1 + Math.sin(2 * Math.PI * t / period)) / 2;\nreturn { topic: 'q_in', payload: q, unit: 'm3/s', timestamp: Date.now() };", "outputs": 1, "noerr": 0, "initialize": "",