[{"id":"48399f4042015e71","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"c9b6d9f92e786cfc","type":"inject","z":"48399f4042015e71","name":"","props":[{"p":"topic","vt":"str"}],"repeat":"1","crontab":"","once":false,"onceDelay":0.1,"topic":"umh/v1/TLT/DemoSite/DemoArea/DemoProductionLine/DemoWorkCell/originID/_historian/","x":190,"y":200,"wires":[["898eb25b053984b7"]]},{"id":"898eb25b053984b7","type":"function","z":"48399f4042015e71","name":"function 1","func":"const tags = [\n \"ns_3_s_Area_1_Generator_1_Output_Power_MW\",\n \"ns_3_s_Area_2_Turbine_3_Speed_RPM\",\n \"ns_3_s_Area_4_Boiler_2_Steam_Flow_Rate_kg_per_s\",\n \"ns_3_s_Area_1_Generator_2_Voltage_kV\",\n \"ns_3_s_Area_3_Cooling_System_Water_Flow_Rate_m_cubed_per_h\",\n \"ns_3_s_Area_5_Transformer_1_Temperature_C\",\n \"ns_3_s_Area_3_Cooling_Tower_Efficiency_\",\n \"ns_3_s_Area_4_Boiler_1_Pressure_bar\",\n \"ns_3_s_Area_2_Turbine_1_Vibration_mm_per_s\",\n \"_ns_3_s_Area_6_Environmental_Ambient_Temperature_C\",\n \"ns_3_s_Area_1_Generator_3_Current_A\",\n \"ns_3_s_Area_3_Cooling_Pump_2_Status\",\n \"ns_3_s_Area_2_Turbine_2_Efficiency_\",\n \"ns_3_s_Area_5_Electrical_System_Line_Current_A\",\n \"_ns_3_s_Area_7_Control_System_Valve_Position_\",\n \"ns_3_s_Area_5_Electrical_System_Power_Factor_\",\n \"ns_3_s_Area_1_Generator_4_Frequency_Hz\",\n \"ns_3_s_Area_6_Environmental_Emissions_Level_ppm\",\n \"ns_3_s_Area_3_Cooling_Water_Temperature_Out_C\",\n \"_ns_3_s_Area_4_Boiler_3_Feed_Water_Temperature_C\",\n \"ns_3_s_Area_2_Turbine_4_Pressure_bar\",\n \"ns_3_s_Area_7_Control_System_Alarm_Status\",\n \"ns_3_s_Area_5_Transformer_2_Grid_Frequency_Hz\",\n \"ns_3_s_Area_3_Cooling_Water_Temperature_In_C\",\n \"ns_3_s_Area_1_Generator_5_Temperature_C\",\n \"ns_3_s_Area_6_Environmental_Humidity_\",\n \"ns_3_s_Area_4_Boiler_4_Combustion_Air_Flow_Rate_m_cubed_per_h\",\n \"_ns_3_s_Area_7_Control_System_Switch_Status_On_Off\",\n \"ns_3_s_Area_2_Turbine_5_Temperature_C\",\n \"ns_3_s_Area_5_Electrical_System_Substation_Voltage_kV\",\n \"ns_3_s_Area_5_Electrical_System_Distribution_Panel_8_Circuit_Breaker_14_Status_Failure_Mode_Indication_Alarm_Activated\",\n \"ns_3_s_Area_4_Boiler_2_Feedwater_Pump_12_Flow_Control_System_Automatic_Adjustment_Mode_Parameter_Setting\",\n \"ns_3_s_Area_6_Environmental_Air_Quality_Monitoring_System_Particular_Matter_2_5_Concentration_Level_Sensor_Output\",\n \"ns_3_s_Area_1_Generator_3_Excitation_Control_System_Reactive_Power_Output_Compensation_Factor_Adjustment_Status\",\n \"ns_3_s_Area_2_Turbine_5_Steam_Injection_System_Enhanced_Efficiency_Mode_Operation_Parameter_Configuration_Status\",\n \"ns_3_s_Area_7_Control_System_Software_Management_Module_Version_1_23_4_Update_Required_Notification_Alert\",\n \"_ns_3_s_Area_3_Cooling_Water_Treatment_Plant_Disinfectant_Dosage_Control_System_Feedback_Loop_Error_Indicator_\",\n \"ns_3_s_Area_5_Electrical_System_High_Voltage_Transmission_Line_47_Grid_Connection_Point_Voltage_Fluctuation_Monitor_\",\n \"_ns_3_s_Area_4_Boiler_3_Combustion_Efficiency_Optimization_Module_Carbon_Monoxide_Emission_Reduction_Target_Achievement\",\n \"__ns_3_s_Area_1_Generator_4_Rotor_Temperature_Monitoring_System_Average_Reading_Exceedance_Warning_Level_Setting__\",\n];\n\nconst messages = [];\n\nconst original_topic = msg.topic;\n\nfor (const tag of tags) {\n const msg = {};\n msg.topic = original_topic + tag\n msg.payload = {};\n msg.payload[\"timestamp_ms\"] = Date.now();\n msg.payload[tag] = Date.now() % 10;\n messages.push(msg);\n}\n\nreturn [messages];\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":460,"y":200,"wires":[["bc55fc5513af825c"]]},{"id":"63a7060bf1c436af","type":"mqtt out","z":"48399f4042015e71","name":"","topic":"","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"2e5cc2e941472ad9","x":770,"y":200,"wires":[]},{"id":"bc55fc5513af825c","type":"json","z":"48399f4042015e71","name":"","property":"payload","action":"","pretty":false,"x":610,"y":200,"wires":[["dbd4e9848dc5aa22","63a7060bf1c436af"]]},{"id":"dbd4e9848dc5aa22","type":"debug","z":"48399f4042015e71","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":720,"y":300,"wires":[]},{"id":"2e5cc2e941472ad9","type":"mqtt-broker","name":"","broker":"united-manufacturing-hub-mqtt","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]