Mode-Dependent Power Consumption and Power Budget #
Defines ModePowerSpec and PowerBudgetOK₂, and derives budget satisfaction
across all mode combinations from the sum of per-subsystem max power.
def
VerifiedMBSE.VV.PowerBudgetOK₂
{S₁ S₂ : Type}
(pw₁ : ModePowerSpec S₁)
(pw₂ : ModePowerSpec S₂)
(budget : Nat)
(m₁ : S₁)
(m₂ : S₂)
:
Proposition that the combined power of two subsystems is within budget.
Equations
Instances For
theorem
VerifiedMBSE.VV.powerBudget₂_from_max
{S₁ S₂ : Type}
(pw₁ : ModePowerSpec S₁)
(pw₂ : ModePowerSpec S₂)
(budget : Nat)
(h : pw₁.maxPower + pw₂.maxPower ≤ budget)
(m₁ : S₁)
(m₂ : S₂)
:
PowerBudgetOK₂ pw₁ pw₂ budget m₁ m₂
If the sum of maxPower values is within budget, then all mode combinations are within budget.