Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
dll_code/cResult.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
using
System.Threading.Tasks;
6
7
namespace
PHEMlightdll
8
{
9
public
class
VehicleResult
10
{
11
#region Construtor
12
public
VehicleResult
(
double
time,
13
double
speed,
14
double
grad,
15
double
power,
16
double
pPos,
17
double
pNormRated,
18
double
pNormDrive,
19
double
acc,
20
double
fc,
21
double
fcel,
22
double
cO2,
23
double
nOx,
24
double
hC,
25
double
pM,
26
double
cO)
27
{
28
_time
= time;
29
_speed
= speed;
30
_grad
= grad;
31
_power
= power;
32
_pPos
= pPos;
33
_pNormRated
= pNormRated;
34
_pNormDrive
= pNormDrive;
35
_accelaration
= acc;
36
_emissionData
=
new
EmissionData
(fc,
37
fcel,
38
cO2,
39
nOx,
40
hC,
41
pM,
42
cO);
43
}
44
#endregion
45
46
//--------------------------------------------------------------------------------------------------
47
// GeneralState
48
//--------------------------------------------------------------------------------------------------
49
50
#region Time
51
private
double
_time
;
52
public
double
Time
53
{
54
get
55
{
56
return
_time
;
57
}
58
}
59
#endregion
60
61
#region Speed
62
private
double
_speed
;
63
public
double
Speed
64
{
65
get
66
{
67
return
_speed
;
68
}
69
}
70
#endregion
71
72
#region Grad
73
private
double
_grad
;
74
public
double
Grad
75
{
76
get
77
{
78
return
_grad
;
79
}
80
}
81
#endregion
82
83
#region Power
84
private
double
_power
;
85
public
double
Power
86
{
87
get
88
{
89
return
_power
;
90
}
91
}
92
#endregion
93
94
#region PPos
95
private
double
_pPos
;
96
public
double
PPos
97
{
98
get
99
{
100
return
_pPos
;
101
}
102
}
103
#endregion
104
105
#region PNormRated
106
private
double
_pNormRated
;
107
public
double
PNormRated
108
{
109
get
110
{
111
return
_pNormRated
;
112
}
113
set
114
{
115
_pNormRated
= value;
116
}
117
}
118
#endregion
119
120
#region PNormDrive
121
private
double
_pNormDrive
;
122
public
double
PNormDrive
123
{
124
get
125
{
126
return
_pNormDrive
;
127
}
128
set
129
{
130
_pNormDrive
= value;
131
}
132
}
133
#endregion
134
135
#region Accelaration
136
private
double
_accelaration
;
137
public
double
Accelaration
138
{
139
get
140
{
141
return
_accelaration
;
142
}
143
}
144
#endregion
145
146
//--------------------------------------------------------------------------------------------------
147
// EmissionData
148
//--------------------------------------------------------------------------------------------------
149
150
#region EmissionData
151
private
EmissionData
_emissionData
;
152
public
EmissionData
EmissionData
153
{
154
get
155
{
156
return
_emissionData
;
157
}
158
}
159
#endregion
160
}
161
162
public
class
EmissionData
163
{
164
165
#region Constructor
166
public
EmissionData
(
double
fc,
167
double
fcel,
168
double
cO2,
169
double
nOx,
170
double
hC,
171
double
pM,
172
double
cO)
173
{
174
_fc
= fc;
175
_fcel
= fcel;
176
_cO2
= cO2;
177
_nOx
= nOx;
178
_hC
= hC;
179
_pM
= pM;
180
_cO
= cO;
181
}
182
#endregion
183
184
//--------------------------------------------------------------------------------------------------
185
// GeneralState
186
//--------------------------------------------------------------------------------------------------
187
188
#region FC
189
private
double
_fc
;
190
public
double
FC
191
{
192
get
193
{
194
return
_fc
;
195
}
196
}
197
#endregion
198
199
#region FCel
200
private
double
_fcel
;
201
public
double
FCel
202
{
203
get
204
{
205
return
_fcel
;
206
}
207
}
208
#endregion
209
210
#region CO2
211
private
double
_cO2
;
212
public
double
CO2
213
{
214
get
215
{
216
return
_cO2
;
217
}
218
}
219
#endregion
220
221
#region NOx
222
private
double
_nOx
;
223
public
double
NOx
224
{
225
get
226
{
227
return
_nOx
;
228
}
229
}
230
#endregion
231
232
#region HC
233
private
double
_hC
;
234
public
double
HC
235
{
236
get
237
{
238
return
_hC
;
239
}
240
}
241
#endregion
242
243
#region PM
244
private
double
_pM
;
245
public
double
PM
246
{
247
get
248
{
249
return
_pM
;
250
}
251
}
252
#endregion
253
254
#region CO
255
private
double
_cO
;
256
public
double
CO
257
{
258
get
259
{
260
return
_cO
;
261
}
262
}
263
#endregion
264
}
265
}
PHEMlightdll.EmissionData
Definition
dll_code/cResult.cs:163
PHEMlightdll.EmissionData._cO
double _cO
Definition
dll_code/cResult.cs:255
PHEMlightdll.EmissionData.CO2
double CO2
Definition
dll_code/cResult.cs:213
PHEMlightdll.EmissionData._hC
double _hC
Definition
dll_code/cResult.cs:233
PHEMlightdll.EmissionData.EmissionData
EmissionData(double fc, double fcel, double cO2, double nOx, double hC, double pM, double cO)
Definition
dll_code/cResult.cs:166
PHEMlightdll.EmissionData.FCel
double FCel
Definition
dll_code/cResult.cs:202
PHEMlightdll.EmissionData.CO
double CO
Definition
dll_code/cResult.cs:257
PHEMlightdll.EmissionData.HC
double HC
Definition
dll_code/cResult.cs:235
PHEMlightdll.EmissionData._nOx
double _nOx
Definition
dll_code/cResult.cs:222
PHEMlightdll.EmissionData._pM
double _pM
Definition
dll_code/cResult.cs:244
PHEMlightdll.EmissionData.FC
double FC
Definition
dll_code/cResult.cs:191
PHEMlightdll.EmissionData._fcel
double _fcel
Definition
dll_code/cResult.cs:200
PHEMlightdll.EmissionData.NOx
double NOx
Definition
dll_code/cResult.cs:224
PHEMlightdll.EmissionData._fc
double _fc
Definition
dll_code/cResult.cs:189
PHEMlightdll.EmissionData.PM
double PM
Definition
dll_code/cResult.cs:246
PHEMlightdll.EmissionData._cO2
double _cO2
Definition
dll_code/cResult.cs:211
PHEMlightdll.VehicleResult
Definition
dll_code/cResult.cs:10
PHEMlightdll.VehicleResult._power
double _power
Definition
dll_code/cResult.cs:84
PHEMlightdll.VehicleResult._pNormRated
double _pNormRated
Definition
dll_code/cResult.cs:106
PHEMlightdll.VehicleResult._pNormDrive
double _pNormDrive
Definition
dll_code/cResult.cs:121
PHEMlightdll.VehicleResult._accelaration
double _accelaration
Definition
dll_code/cResult.cs:136
PHEMlightdll.VehicleResult.VehicleResult
VehicleResult(double time, double speed, double grad, double power, double pPos, double pNormRated, double pNormDrive, double acc, double fc, double fcel, double cO2, double nOx, double hC, double pM, double cO)
Definition
dll_code/cResult.cs:12
PHEMlightdll.VehicleResult.Accelaration
double Accelaration
Definition
dll_code/cResult.cs:138
PHEMlightdll.VehicleResult.PNormRated
double PNormRated
Definition
dll_code/cResult.cs:108
PHEMlightdll.VehicleResult._pPos
double _pPos
Definition
dll_code/cResult.cs:95
PHEMlightdll.VehicleResult.PNormDrive
double PNormDrive
Definition
dll_code/cResult.cs:123
PHEMlightdll.VehicleResult._time
double _time
Definition
dll_code/cResult.cs:51
PHEMlightdll.VehicleResult._grad
double _grad
Definition
dll_code/cResult.cs:73
PHEMlightdll.VehicleResult.Grad
double Grad
Definition
dll_code/cResult.cs:75
PHEMlightdll.VehicleResult.PPos
double PPos
Definition
dll_code/cResult.cs:97
PHEMlightdll.VehicleResult.Time
double Time
Definition
dll_code/cResult.cs:53
PHEMlightdll.VehicleResult.EmissionData
EmissionData EmissionData
Definition
dll_code/cResult.cs:153
PHEMlightdll.VehicleResult.Power
double Power
Definition
dll_code/cResult.cs:86
PHEMlightdll.VehicleResult._emissionData
EmissionData _emissionData
Definition
dll_code/cResult.cs:151
PHEMlightdll.VehicleResult.Speed
double Speed
Definition
dll_code/cResult.cs:64
PHEMlightdll.VehicleResult._speed
double _speed
Definition
dll_code/cResult.cs:62
PHEMlightdll
Definition
cpp/CEP.cpp:30
src
foreign
PHEMlight
dll_code
cResult.cs
Generated on Fri Nov 22 2024 00:15:30 for Eclipse SUMO - Simulation of Urban MObility by
1.9.8