-
Notifications
You must be signed in to change notification settings - Fork 0
/
range.h
40 lines (31 loc) · 917 Bytes
/
range.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/** $Id: range.h,v 1.13 2008/02/09 23:48:51 d3j168 Exp $
Copyright (C) 2008 Battelle Memorial Institute
@file range.h
@addtogroup range
@ingroup residential
@{
**/
#ifndef _RANGE_H
#define _RANGE_H
#include "residential.h"
#include "residential_enduse.h"
class range : public residential_enduse
{
public:
double circuit_split; ///< -1=100% negative, 0=balanced, +1=100% positive
double installed_power; ///< installed wattage [W]
double demand; ///< fraction of installed power currently used
double power_factor; ///< power factor (default = 1.0)
double heat_fraction; ///< fraction of the plugload that is transferred as heat (default = 0.90)
public:
static CLASS *oclass, *pclass;
static range *defaults;
range(MODULE *module);
~range();
int create();
int init(OBJECT *parent);
int isa(char *classname);
TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1);
};
#endif // _RANGE_H
/**@}**/