Skip to content

Follow the DeviceBaseUnit -> ComponentBaseUnit rename - #165

Merged
jd-lara merged 1 commit into
mainfrom
lk/component-base-units
Sep 10, 2026
Merged

jd-lara merged 1 commit into
mainfrom
lk/component-base-units

Conversation

@luke-kiernan

Copy link
Copy Markdown
Collaborator

Follow-up to InfrastructureSystems#634, which renamed the per-unit marker DU/DeviceBaseUnit to CU/ComponentBaseUnit. No shims, so IS.DeviceBaseUnit() no longer resolves.

Seven sites:

  • test/test_quadratic_curve.jl (2), test/test_linear_curve.jl (2), test/test_ts_value_curve_objective.jl (1) — constructing the marker to parameterize a cost curve.
  • scripts/units_dispatch_profile.jl (2) — the units tuple it profiles over, plus a comment naming the type parameter.

IOM uses no bare unit constants, so PowerSystems#1790 (natural units spelled u"..." only) doesn't reach it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LP6eB1zx4eyE3hd7tpvSue

InfrastructureSystems#634 renamed the per-unit marker: `IS.DU`/
`IS.DeviceBaseUnit` are now `IS.CU`/`IS.ComponentBaseUnit`, with no shims.

Seven sites, all constructing the marker to parameterize a cost curve in
the value-curve tests, plus the units tuple in the dispatch-profile
script.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LP6eB1zx4eyE3hd7tpvSue
@github-actions

Copy link
Copy Markdown
Contributor

Performance Results
Main


This branch


@jd-lara
jd-lara merged commit 508adc4 into main Sep 10, 2026
2 of 6 checks passed
rodrigomha added a commit that referenced this pull request Sep 14, 2026
Brings #164 (the share_template_references! hook), #165 (the ComponentBaseUnit rename) and
#166 (cost conversions derive their ratio to the system base; the coverage tooling leaves
the test environment).
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.

2 participants