libelec
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Data Fields
elec_tru_info_t Struct Reference

#include <libelec.h>

Collaboration diagram for elec_tru_info_t:
Collaboration graph
[legend]

Data Fields

double in_volts
 
double min_volts
 
double out_volts
 
double out_freq
 
vect2_t * eff_curve
 
const elec_comp_info_tac
 
const elec_comp_info_tdc
 
bool charger
 
const elec_comp_info_tbatt
 
const elec_comp_info_tbatt_conn
 
double curr_lim
 

Detailed Description

Info structure describing a TRU, inverter or battery charger.

Definition at line 272 of file libelec.h.

Field Documentation

◆ ac

const elec_comp_info_t* ac

AC bus side

Definition at line 278 of file libelec.h.

◆ charger

bool charger

When operating in battery-charger mode, ‘charger’ must be true and the battery link non-NULL.

Definition at line 284 of file libelec.h.

◆ curr_lim

double curr_lim

Charger current limit (in Amps).

Definition at line 287 of file libelec.h.

◆ dc

const elec_comp_info_t* dc

DC bus side

Definition at line 279 of file libelec.h.

◆ eff_curve

vect2_t* eff_curve

Output Watts -> efficiency curve

Definition at line 277 of file libelec.h.

◆ in_volts

double in_volts

Nominal input voltage.

Definition at line 273 of file libelec.h.

◆ min_volts

double min_volts

Minimum input voltage.

Definition at line 274 of file libelec.h.

◆ out_freq

double out_freq

Output frequency (for inverters)

Definition at line 276 of file libelec.h.

◆ out_volts

double out_volts

Nominal output voltage.

Definition at line 275 of file libelec.h.


The documentation for this struct was generated from the following file: