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_load_info_t Struct Reference

#include <libelec.h>

Data Fields

bool ac
 
bool stab
 
double incap_C
 
double incap_R
 
double incap_leak_Qps
 
double min_volts
 
elec_get_load_cb_t get_load
 
double std_load
 

Detailed Description

Info structure describing a load.

Definition at line 320 of file libelec.h.

Field Documentation

◆ ac

bool ac

Needs AC or DC input?

Definition at line 322 of file libelec.h.

◆ get_load

See also
elec_get_load_cb_t

Definition at line 334 of file libelec.h.

◆ incap_C

double incap_C

Input capacitance in Farad.

Definition at line 326 of file libelec.h.

◆ incap_leak_Qps

double incap_leak_Qps

Incap leakage rate in Coulomb/s.

Definition at line 330 of file libelec.h.

◆ incap_R

double incap_R

Resitance (in Ohms) for incap charging.

Definition at line 328 of file libelec.h.

◆ min_volts

double min_volts

Minimum voltage to be powered up (for libelec_comp_is_powered())

Definition at line 332 of file libelec.h.

◆ stab

bool stab

Does the load have a stabilized PSU, or is constant-current?

Definition at line 324 of file libelec.h.

◆ std_load

double std_load

Fixed load (in Watts for stabilized and Amps for unstabilized) for constant-demand loads (specified using the STD_LOAD stanza).

Definition at line 339 of file libelec.h.


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