Loading

Uli SDK

Power Plant Manager

15.Power Plant Manager

The Power Plant Manager service controls the power plants of the mobility system. The power plants are the source of the energy, such as gas engine, diesel engine, batteries, hydraulic, and fuel cell.

Require: core:AccessControl
Inherit from: none

15.1 Service Behavior

15.1.1 State Diagram


  Figure 14 Power Plant Manager State Diagram

15.1.2 State Actions


State Actions
READY
  • Set Power Plant State
  • Query Power Plant Capabilities
  • Query Power Plant State
  • Query Power Plant Status

15.1.3 Internal Events


Event Parameters Purpose
ieReceiveMessage Message received

15.1.4 Transitions


Transition Trigger Condition Action
A ieReceiveMessage Process received messages

15.2 Protocol

15.2.1 Incoming Message Set


# ID Message
1 H:0x00000001
L: 0x0000022B
Query Power Plant Capabilities
2 H:0x00000001
L: 0x0000022D
Set Power Plant States
3 H:0x00000001
L: 0x0000022E
Query Power Plant States
4 H:0x00000001
L: 0x00000230
Query Power Plant Status

15.2.2 Outgoing Message Set


# ID Message
1 H:0x00000001
L: 0x0000022C
Report Power Plant Capabilities
2 H:0x00000001
L: 0x0000022F
Report Power Plant States
3 H:0x00000001
L: 0x00000231
Report Power Plant Status

15.3 Parameters

  1. CYCLEINTERVAL double, time interval in seconds of each cycle, default=0.1.
  2. DATATIMEOUT double, timeout in seconds for not receiving power plant status updates, default=0.5.

15.4 Data

Get:

  1. location=powerplantstated, type=PowerPlantStateRecList

Set:

  1. location=powerplantstatus, type=PowerPlantStatusRecList