-
Notifications
You must be signed in to change notification settings - Fork 0
/
dishwasher.h
41 lines (31 loc) · 993 Bytes
/
dishwasher.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
41
/** $Id: dishwasher.h,v 1.8 2008/02/09 00:05:09 d3j168 Exp $
Copyright (C) 2008 Battelle Memorial Institute
@file dishwasher.h
@addtogroup dishwasher
@ingroup residential
@{
**/
#ifndef _DISHWASHER_H
#define _DISHWASHER_H
#include "residential.h"
#include "residential_enduse.h"
class dishwasher : public residential_enduse
{
public:
double circuit_split; ///< -1=100% negative, 0=balanced, +1=100% positive
double installed_power; ///< installed washer power [W] (default = random uniform between 1000 - 3000 W)
double demand ; ///< fraction of dishwasher load
double heat_fraction; ///< internal gain fraction of installed power (default = 0.5)
double power_factor; ///< power factor (default = 0.95)
public:
static CLASS *oclass, *pclass;
static dishwasher *defaults;
dishwasher(MODULE *module);
~dishwasher();
int create();
int init(OBJECT *parent);
int isa(char *classname);
TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1);
};
#endif // _DISHWASHER_H
/**@}**/