Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions energy/fuel_cell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell
description: A profile for fuel cell modules that generate DC power from hydrogen.

implements:
- lib.device.nameplate
- lib.energy.fuel_cell.electrical
- lib.energy.fuel_cell.status
- lib.energy.fuel_cell.thermal
- lib.energy.fuel_cell.pressure
12 changes: 12 additions & 0 deletions energy/fuel_cell/industrial.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
blueprint_spec: profile/1.0

display_name: Industrial Fuel Cell
description: A profile for industrial-grade fuel cell modules with advanced diagnostics and fault monitoring.

implements:
- lib.device.nameplate
- lib.energy.fuel_cell.electrical
- lib.energy.fuel_cell.status
- lib.energy.fuel_cell.thermal
- lib.energy.fuel_cell.pressure
- lib.energy.fuel_cell.diagnostics
37 changes: 37 additions & 0 deletions lib/energy/fuel_cell/diagnostics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Diagnostics
description: Runtime diagnostics, fault monitoring, and service metrics for industrial fuel cell modules.

telemetry:
run_hours:
display_name: Run Hours
type: float
unit: s
description: Cumulative operating time of the fuel cell.

total_run_energy:
display_name: Total Run Energy
type: float
unit: J
description: Cumulative energy produced by the fuel cell.

fault_flags_a:
display_name: Fault Flags A
type: integer
description: Fault flag register A containing error codes A01-A32.

fault_flags_b:
display_name: Fault Flags B
type: integer
description: Fault flag register B containing error codes B01-B32.

fault_flags_c:
display_name: Fault Flags C
type: integer
description: Fault flag register C containing error codes C01-C32.

fault_flags_d:
display_name: Fault Flags D
type: integer
description: Fault flag register D containing error codes D01-D07.
23 changes: 23 additions & 0 deletions lib/energy/fuel_cell/electrical.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Electrical Measurements
description: Voltage, current, and power measurements for fuel cell modules.

telemetry:
output_voltage:
display_name: Output Voltage
type: float
unit: V
description: Current DC voltage output of the fuel cell.

output_current:
display_name: Output Current
type: float
unit: A
description: Current DC current output of the fuel cell.

output_power:
display_name: Output Power
type: float
unit: W
description: Current DC power output of the fuel cell.
25 changes: 25 additions & 0 deletions lib/energy/fuel_cell/nameplate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Nameplate Information
description: Device nameplate information specific to fuel cells.

properties:
vendor:
display_name: Vendor
type: string
description: Manufacturer of the fuel cell module.

model:
display_name: Model
type: string
description: Model name or number of the fuel cell module.

serial_number:
display_name: Serial Number
type: string
description: Unique serial number of the fuel cell module.

fw_ver:
display_name: Firmware Version
type: string
description: Firmware version of the fuel cell module.
11 changes: 11 additions & 0 deletions lib/energy/fuel_cell/pressure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Pressure Monitoring
description: Pressure measurements for fuel cell hydrogen supply.

telemetry:
anode_pressure:
display_name: Anode Pressure
type: float
unit: mbar
description: Current pressure at the fuel cell anode (hydrogen inlet).
42 changes: 42 additions & 0 deletions lib/energy/fuel_cell/status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Status
description: Operating status for fuel cell modules.

telemetry:
status:
display_name: Status
type: string
description: Current operational status of the fuel cell
enum:
"on":
display_name: "On"
description: Fuel cell is powered on
"off":
display_name: "Off"
description: Fuel cell is powered off
inactive:
display_name: Inactive
description: Fuel cell is inactive/idle
steady:
display_name: Steady
description: Fuel cell is in steady-state operation
run:
display_name: Run
description: Fuel cell is actively running
fault:
display_name: Fault
description: Fuel cell has detected a fault condition
error:
display_name: Error
description: Fuel cell is in an error state

powered:
display_name: Powered
type: boolean
description: Whether the fuel cell power output is enabled.

started:
display_name: Started
type: boolean
description: Whether the fuel cell has been started.
17 changes: 17 additions & 0 deletions lib/energy/fuel_cell/thermal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
blueprint_spec: profile/1.0

display_name: Fuel Cell Thermal Monitoring
description: Temperature measurements for fuel cell inlet and outlet.

telemetry:
inlet_temp:
display_name: Inlet Temperature
type: float
unit: Cel
description: Temperature of the coolant/reactant at the fuel cell inlet.

outlet_temp:
display_name: Outlet Temperature
type: float
unit: Cel
description: Temperature of the coolant/reactant at the fuel cell outlet.