Skip to content

OM Refactor: Scale Simulation Results - #103

Merged
elenya-grant merged 2 commits into
NatLabRockies:developfrom
elenya-grant:om_refactor/scale_simulation
Aug 6, 2026
Merged

OM Refactor: Scale Simulation Results#103
elenya-grant merged 2 commits into
NatLabRockies:developfrom
elenya-grant:om_refactor/scale_simulation

Conversation

@elenya-grant

Copy link
Copy Markdown
Collaborator

OM Refactor: Scale Simulation Results

Feature or improvement description

Added a 3 new subsystems to the cluster 'simulation' component. One of these is a new model, called a degradation combiner. This does two calcs:

  • adds the cell voltage and the degradation voltage.
  • calculates the power from the combined voltage

The two other subsystems utilize the CombineSerialComponents component to scale cell-level simulation results to the cluster level. The power and voltage from the degradation combiner are input to the first scale-up component, and the current density, hydrogen production, and o2 production from the cell_real component are connected to the first scale up component. The first scale up component is connected to another scale-up component (stack to cluster). The last scale-up component promotes the outputs from a naming convention of {var}_out to Cluster_{var} (so the cluster-level simulation outputs are named Cluster0.simulation.Cluster_H2 for example).

In the future, the H2 and O2 would be connected to the scale-up component from a losses group, the subtracts hydrogen losses due to warm-up delays.

Related issue, if one exists

Impacted areas of the software

New file: electrolyzer/connectors/series_scalar.py

Modified files:

  • electrolyzer/core/bert.py: updated create_cluster_simulation_block and create_components
  • electrolyzer/test/test_om_examples.py::test_example_00_no_controller: added some basic subtests for the outputs of the new model.

Additional supporting information

Test results, if applicable

@elenya-grant
elenya-grant merged commit 5de5465 into NatLabRockies:develop Aug 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant