Skip to main content

simple_efficiency

Function simple_efficiency 

Source
pub fn simple_efficiency(
    input_power: f64,
    transformer_rating: f64,
    no_load_loss: f64,
    load_loss: f64,
) -> f64
Expand description

Calculate transformer output power accounting for efficiency losses.

Uses a quadratic model where load losses scale with the square of output power.

§Arguments

  • input_power - Real AC power input to the transformer in W.
  • transformer_rating - Nominal output power of the transformer in VA.
  • no_load_loss - Constant losses as fraction of rating (0-1).
  • load_loss - Load-dependent losses as fraction of rating (0-1).

§Returns

Real AC power output in W.