forked from typhoon-hil/CHAdeMO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHAdeMO-TyphoonHIL.tse
More file actions
4559 lines (4140 loc) · 151 KB
/
Copy pathCHAdeMO-TyphoonHIL.tse
File metadata and controls
4559 lines (4140 loc) · 151 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
version = 4.2
//
// Saved by sw version: 2023.3
//
model "CHAdeMO-TyphoonHIL" {
configuration {
hil_device = "HIL606"
hil_configuration_id = 1
simulation_method = exact
simulation_time_step = auto
simulation_discret_scaling = 1.0
dsp_timer_periods = 100e-6, 50e-3
ss_calc_method = "systematic elimination"
enb_pole_shift = True
enb_gds_oversampling = True
show_modes = False
device_ao_limit_enable = False
reset_analog_outputs_on_sim_stop = True
reset_digital_outputs_on_sim_stop = True
vhil_adio_loopback = False
cpl_stb = False
enb_dep_sw_detect = False
code_section = "internal memory"
data_section = "internal memory"
sys_sp_rate_1 = 0.0001
sys_sp_rate_2 = 0.05
sys_real_type_precision = "default"
user_real_type_precision = "default"
sys_cpu_optimization = "high"
user_cpu_optimization = "high"
user_cpu_part_option = "default"
matrix_based_reduction = True
cpl_dynamics_analysis = False
export_ss_to_pickle = False
ground_scope_core = False
dss_num_tol = 1e-15
cce_platform = "generic"
cce_use_relative_names = False
cce_type_mapping_real = "double"
cce_type_mapping_uint = "unsigned int"
cce_type_mapping_int = "int"
cce_directory = ""
cce_custom_type_int = ""
cce_custom_type_uint = ""
cce_custom_type_real = ""
tunable_params = "component defined"
sp_compiler_type = "C++ compiler"
sig_stim = "off"
export_resource_list = ""
export_dependency_list = ""
excluded_resource_list = ""
export_out_file = ""
export_lock_top_level = True
export_encrypt_library = True
export_encrypt_resources = True
}
component Subsystem Root {
component Subsystem "CHAdeMO v1 EVCC" {
layout = dynamic
component "core/Advanced C function" "Advanced C function2" {
add_src_path = "chademo.h;globals.h"
add_src_path_full = "C:\Users\Teodora Mijovic\Desktop\CHAdeMO\chademo.h;C:\Users\Teodora Mijovic\Desktop\CHAdeMO\globals.h"
arb_defs = "/*Begin code section*/
/*End code section*/"
arm_a53_file_path = "libChademoLower.a"
arm_a53_file_path_full = "C:/Users/Teodora Mijovic/Desktop/CHAdeMO/libChademoLower.a"
arm_a9_file_path = "libChademoUpper.a"
arm_a9_file_path_full = "C:/Users/Teodora Mijovic/Desktop/CHAdeMO/libChademoUpper.a"
execution_rate = "excRate"
global_variables = "uint Count;uint PreviousMillis;uint Interval;uint Time;uint CurrentSecs;uint debugTick;uint receiveMillis;uint auxReceiveParams;uint auxReceiveStatus;uint receiveID;uint currentMillis;uint currentSeconds;"
init_fnc = "/*Begin code section*/
receiveMillis = 0;
auxReceiveParams = 0;
auxReceiveStatus = 0;
receiveID = 0;
currentMillis = 0;
currentSeconds = 0;
ERRORdoP = 0;
errorDoProcessing = 0;
ERRORhandle = 0;
errorHandle = 0;
AV, PV = 0;
CHADEMO(); //constructor
chademo.evse_params.availVoltage = 0;
chademo.evse_params.availCurrent = 0;
chademo.evse_params.thresholdVoltage = 0;
chademo.bChademo10Protocol = 0;
chademo.evse_status.presentVoltage = 0;
chademo.evse_status.presentCurrent = 0;
chademo.evse_status.status = 0;
chademo.evse_status.remainingChargeSeconds = 18;
chademo.evse_status.remainingChargeMinutes = 3;
maxChargeVoltage = MaxChargeVoltage;
packSizeKWH = PackSizeKWH;
howLongCharge = 0;
howLongWeThink = 0;
talkingProtocol = 0;
targetVoltage = TargetVoltage;
askingAmps = AskingAmps;
faults = 0;
status = 0;
kiloWattHours = 0;
settings.packSizeKWH = PackSizeKWH;
settings.ampHours = 0.0;
settings.kiloWattHours = 0.0;
settings.maxChargeVoltage = MaxChargeVoltage;
settings.minChargeAmperage = MinChargeAmperage;
settings.capacity = 180;
settings.targetChargeVoltage = 0; //targetVoltage
settings.maxChargeAmperage = 0; //targetCurrent
chademo.updateTargetAV();
Count = 0;
PreviousMillis = 0;
Interval = 10;
Time = 0;
Voltage = 0;
Current = 0;
Power = 0;
kwh = 0;
in1 = IN1;
in2 = IN2;
out1 = 0;
out2 = 0;
OUT1 = out1;
OUT2 = out2;
/*End code section*/"
input_terminals = "inherit receiveParams;inherit receiveStatus;inherit weldCheck;inherit availVoltage;inherit availCurrent;inherit thresholdVoltage;inherit bChademo10Protocol;inherit presentVoltage;inherit presentCurrent;inherit evseStatus;inherit remainingChargeSeconds;inherit bChademoRequest;inherit voltage;inherit current;inherit remainingChargeMinutes;inherit IN1;inherit IN2;inherit batterySOC;inherit TargetVoltage;inherit AskingAmps;inherit TargetCurrent;inherit complete;inherit MaxChargeVoltage;inherit PackSizeKWH;inherit MinChargeAmperage;"
input_terminals_dimensions = "inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit"
input_terminals_feedthrough = "True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;False;True;True;True"
input_terminals_show_labels = "False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False"
output_fnc = "/*Begin code section*/
currentMillis += (execution_rate*1000);
if ((currentMillis % 1000) == 0 )
{
currentSeconds += 1;
}
chademo.bChademoRequest = bChademoRequest;
CurrentSeconds = currentSeconds;
//error tracking outputs
ERRORdoP = errorDoProcessing;
ERRORhandle = errorHandle;
AV = chademo.evse_params.availVoltage; //available voltage on EVSE side
PV = chademo.evse_status.presentVoltage; //present voltage on EVSE side
chademo.askingAmps = AskingAmps;
settings.targetChargeVoltage = TargetVoltage; //targetVoltage
settings.maxChargeAmperage = TargetCurrent; //targetCurrent
chademo.updateTargetAV();
chademoState = chademo.chademoState;
in1 = IN1;
in2 = IN2;
OUT1 = out1;
OUT2 = out2;
//if charging process is complete than open contactors
if (complete != 0)
{
chademo.chademoState = OPEN_CONTACTOR;
}
chademo.CurrentMillis = currentMillis;
chademo.loop(currentMillis); //CHAdeMO loop is based on the state machine
//sending battery specifications from EV to EVSE
if (chademo.sendBatt == 1)
{
chademo.sendBatt = 0;
sendBatt = 1;
maxChargeVoltage = settings.maxChargeVoltage; //maximum voltage value at the vehicle inlet terminals, at which the station stops charging to protect the vehicle battery
packSizeKWH = settings.packSizeKWH; //fixed value for charging rate indication
}
else sendBatt = 0;
//sending EV status to EVSE
if (chademo.sendStatus == 1)
{
chademo.sendStatus = 0;
sendStatus = 1;
if (bChademo10Protocol) talkingProtocol = 2; //software version of control protocol to which EV corresponds (tell EVSE we are talking 1.0 protocol)
targetVoltage = chademo.carStatus.targetVoltage; //targeted charging voltage at the vehicle inlet terminals
askingAmps = chademo.askingAmps; //current value requested by EV during charging
faults = chademo.faults; //faults reporting
status = chademo.status; //status reporting
kiloWattHours = settings.kiloWattHours; //charging rate of vehicles battery
}
else sendStatus = 0;
//sending charging time from EV to EVSE
if (chademo.sendTime == 1)
{
chademo.sendTime = 0;
sendTime = 1;
howLongCharge = 3; //maximum charging time permitted by EV (minutes)
howLongWeThink = 2; //maximum charging time permitted by user (minutes)
}
else sendTime = 0;
if (chademo.CurrentMillis - PreviousMillis >= Interval)
{
Time = chademo.CurrentMillis - PreviousMillis;
PreviousMillis = chademo.CurrentMillis;
Count++;
Voltage = voltage;
Current = current;
Power = Voltage*Current/1000;
settings.kiloWattHours = batterySOC; //%
settings.ampHours = settings.capacity*batterySOC/100;
kwh = settings.ampHours*Voltage/1000;
chademo.doProcessing();
if(Count >= 50)
{
Count = 0;
if (!chademo.bChademoMode)
{
chademo.checkChargingState(); //looking for reset of charging.
}
}
}
if (currentMillis - 100 == receiveMillis) //check every 100ms if there is a received message
{
receiveMillis = currentMillis;
if(receiveParams > auxReceiveParams)
{
auxReceiveParams = receiveParams;
receiveID = 0x108;
chademo.evse_params.supportWeldCheck = weldCheck; //identifier indicating whether or not the station deals with EV contactor welding detection
chademo.evse_params.availVoltage = availVoltage; //maximum output voltage value at the vehicle conntactor terminals
chademo.evse_params.availCurrent = availCurrent; //maximum output current value of the station
chademo.evse_params.thresholdVoltage = thresholdVoltage; //threshold voltage to stop the charging process in order to protect vehicles battery
chademo.handleCANFrame(currentMillis, receiveID);
}
if (receiveStatus > auxReceiveStatus)
{
auxReceiveStatus = receiveStatus;
receiveID = 0x109;
if (bChademo10Protocol > 1) chademo.bChademo10Protocol = 1; //software version number of control protocol or charging sequences that the station deals with
chademo.evse_status.presentVoltage = presentVoltage; //supply voltage value of the output circuit in the station
chademo.evse_status.presentCurrent = presentCurrent; //supply current value of the output circuit in the station
chademo.evse_status.status = evseStatus; //status reporting
chademo.evse_status.remainingChargeSeconds = remainingChargeSeconds * 10; //remaining time before the end of charging (counted by 10s)
chademo.evse_status.remainingChargeMinutes = remainingChargeSeconds * 60; //remaining time before the end of charging (counted by min)
chademo.handleCANFrame(currentMillis, receiveID);
}
}
/*End code section*/"
output_terminals = "inherit CurrentSeconds;uint sendBatt;uint sendStatus;uint sendTime;inherit maxChargeVoltage;inherit packSizeKWH;inherit howLongCharge;inherit howLongWeThink;inherit talkingProtocol;inherit targetVoltage;inherit askingAmps;inherit faults;inherit status;inherit kiloWattHours;uint chademoState;inherit ERRORdoP;inherit ERRORhandle;inherit OUT1;inherit OUT2;inherit AV;inherit kwh;inherit PV;"
output_terminals_dimensions = "inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit;inherit"
output_terminals_feedthrough = "True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True;True"
output_terminals_show_labels = "False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False"
}
[
position = 7048, 8064
hide_name = True
size = 152, 480
]
component "core/Probe" CurrentSeconds {
}
[
position = 7464, 7600
]
component "core/Probe" chademoState {
}
[
position = 7464, 8176
]
component "core/Probe" ERRORdoP {
}
[
position = 7464, 8232
]
component "core/Probe" ERRORhandle {
}
[
position = 7464, 8288
]
component "core/Probe" sendBatt {
}
[
position = 7600, 7656
]
component "core/Probe" sendStatus {
}
[
position = 7600, 7712
]
component "core/Probe" sendTime {
}
[
position = 7600, 7768
]
component "core/Probe" AV {
}
[
position = 7464, 8424
]
component "core/Probe" KWH {
}
[
position = 7464, 8480
]
component "core/Constant" askingAmps {
execution_rate = "excRate"
signal_type = "uint"
value = "AskingAmps"
}
[
position = 5912, 8376
]
component "core/Probe" PV {
}
[
position = 7464, 8536
]
component "core/Constant" MaxChargeVoltage {
execution_rate = "excRate"
signal_type = "uint"
value = "MaxChargeVoltage"
}
[
position = 5912, 8432
]
component "core/Constant" PackSizeKWH {
execution_rate = "excRate"
signal_type = "uint"
value = "PackSizeKWH"
}
[
position = 5912, 8496
]
component "core/Constant" MinChargeAmperage {
execution_rate = "excRate"
signal_type = "uint"
value = "MinChargeAmperage"
}
[
position = 5912, 8560
]
component "core/CAN Bus Send" "EV - BATTERY SPECS" {
data_length = "7"
identifier_type = "CAN 2.0 A (11 bit identifier)"
signals = "[{\'name\': \'EVmaxChargeVoltage\', \'start_bit\': \'32\', \'length\': \'16\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'V\', \'name_old\': \'EVmaxChargeVoltage\', \'name_changed\': \'False\'}, {\'name\': \'EVpackSizeKWH\', \'start_bit\': \'48\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'%\', \'name_old\': \'EVpackSizeKWH\', \'name_changed\': \'False\'}]"
transmit_period = "100.0"
transmit_type = "{\'On event\': True, \'On timer\': False, \'On request\': False}"
}
[
position = 8168, 7952
size = 160, 120
]
component "core/CAN Bus Send" "CHARGING TIME" {
data_length = "5"
identifier_type = "CAN 2.0 A (11 bit identifier)"
identifier_value = "101"
signals = "[{\'name\': \'EVhowLongCharge\', \'start_bit\': \'16\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'min\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVhowLongWeThink\', \'start_bit\': \'32\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'min\', \'name_old\': \'\', \'name_changed\': \'True\'}]"
transmit_period = "100.0"
transmit_type = "{\'On event\': True, \'On timer\': False, \'On request\': False}"
}
[
position = 8168, 8200
size = 160, 120
]
component "core/CAN Bus Send" "EV STATUS" {
data_length = "8"
identifier_type = "CAN 2.0 A (11 bit identifier)"
identifier_value = "102"
signals = "[{\'name\': \'EVtalkingProtocol\', \'start_bit\': \'0\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVtargetVoltage\', \'start_bit\': \'8\', \'length\': \'16\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'V\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVaskingAmps\', \'start_bit\': \'24\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'A\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVfaults\', \'start_bit\': \'32\', \'length\': \'5\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVstatus\', \'start_bit\': \'40\', \'length\': \'5\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVkiloWattHours\', \'start_bit\': \'48\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'%\', \'name_old\': \'\', \'name_changed\': \'True\'}]"
transmit_period = "100.0"
transmit_type = "{\'On event\': True, \'On timer\': False, \'On request\': False}"
}
[
position = 8168, 8448
size = 160, 120
]
component "core/CAN Bus Receive" "EVSE PARAMS" {
data_length = "6"
execution_rate = "excRate"
identifier_type = "CAN 2.0 A (11 bit identifier)"
identifier_value = "108"
signals = "[{\'name\': \'EVSEweldCheck\', \'start_bit\': \'0\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEavailVoltage\', \'start_bit\': \'8\', \'length\': \'16\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'V\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEavailCurrent\', \'start_bit\': \'24\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'A\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEthresholdVoltage\', \'start_bit\': \'32\', \'length\': \'16\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'V\', \'name_old\': \'\', \'name_changed\': \'True\'}]"
}
[
position = 8632, 7960
size = 160, 120
]
component "core/CAN Bus Receive" "EVSE STATUS" {
data_length = "8"
execution_rate = "excRate"
identifier_type = "CAN 2.0 A (11 bit identifier)"
identifier_value = "109"
signals = "[{\'name\': \'EVSEbChademo10Protocol\', \'start_bit\': \'0\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEpresentVoltage\', \'start_bit\': \'8\', \'length\': \'16\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'V\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEpresentCurrent\', \'start_bit\': \'24\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'A\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEstatus\', \'start_bit\': \'40\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEremainingChargeSeconds\', \'start_bit\': \'48\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'s\', \'name_old\': \'\', \'name_changed\': \'True\'}, {\'name\': \'EVSEremainingChargeMinutes\', \'start_bit\': \'56\', \'length\': \'8\', \'byte_order\': \'Little Endian\', \'data_type\': \'uint\', \'mux_type\': \'None\', \'mux_val\': \'\', \'scale\': \'\', \'offset\': \'\', \'min\': \'\', \'max\': \'\', \'unit\': \'min\', \'name_old\': \'\', \'name_changed\': \'True\'}]"
}
[
position = 8632, 8456
size = 160, 120
]
port bChademoRequest {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 7808
]
port voltage {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 7864
]
port current {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 7928
]
port faults {
position = right:1
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8008
]
port in1 {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 7992
]
port in2 {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 8056
]
port OUT1 {
position = right:2
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8064
]
port OUT2 {
position = right:3
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8120
]
port "battery soc" {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 8120
]
port targetVoltage {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 8184
]
port targetCurrent {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 8240
]
port "battery size" {
position = right:4
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8176
]
port complete {
position = auto:auto
kind = sp
direction = out
sp_type {
default = auto
readonly = True
}
}
[
position = 5912, 8304
]
port availVoltage {
position = right:5
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8232
]
port availCurrent {
position = right:6
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8288
]
port presentVoltage {
position = right:7
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8344
]
port presentCurrent {
position = right:8
kind = sp
direction = in
sp_type {
default = inherit
readonly = True
}
}
[
position = 9216, 8400
]
tag Goto12 {
value = "sendBatt"
scope = local
kind = sp
direction = in
}
[
position = 7472, 7688
hide_name = True
size = 60, 20
]
tag Goto13 {
value = "sendStatus"
scope = local
kind = sp
direction = in
}
[
position = 7472, 7744
hide_name = True
size = 60, 20
]
tag Goto14 {
value = "sendTime"
scope = local
kind = sp
direction = in
}
[
position = 7472, 7800
hide_name = True
size = 60, 20
]
tag Goto15 {
value = "maxChargeVoltage"
scope = local
kind = sp
direction = in
}
[
position = 7488, 7840
hide_name = True
size = 94, 20
]
tag Goto16 {
value = "packSizeKWH"
scope = local
kind = sp
direction = in
}
[
position = 7488, 7872
hide_name = True
size = 94, 20
]
tag Goto17 {
value = "howLongCharge"
scope = local
kind = sp
direction = in
}
[
position = 7488, 7904
hide_name = True
size = 92, 20
]
tag Goto18 {
value = "howLongWeThink"
scope = local
kind = sp
direction = in
}
[
position = 7488, 7936
hide_name = True
size = 89, 20
]
tag Goto19 {
value = "talkingProtocol"
scope = local
kind = sp
direction = in
}
[
position = 7488, 7976
hide_name = True
size = 89, 20
]
tag Goto20 {
value = "targetVoltage"
scope = local
kind = sp
direction = in
}
[
position = 7488, 8008
hide_name = True
size = 96, 20
]
tag Goto21 {
value = "askingAmps"
scope = local
kind = sp
direction = in
}
[
position = 7472, 8040
hide_name = True
size = 67, 20
]
tag Goto22 {
value = "faults"
scope = local
kind = sp
direction = in
}
[
position = 7472, 8072
hide_name = True
size = 60, 20
]
tag Goto23 {
value = "status"
scope = local
kind = sp
direction = in
}
[
position = 7472, 8104
hide_name = True
size = 60, 20
]
tag Goto24 {
value = "kiloWattHours"
scope = local
kind = sp
direction = in
}
[
position = 7488, 8136
hide_name = True
size = 98, 20
]
tag From21 {
value = "receiveParams"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7656
hide_name = True
size = 98, 20
]
tag From22 {
value = "receiveStatus"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7688
hide_name = True
size = 102, 20
]
tag Goto44 {
value = "bChademoRequest"
scope = local
kind = sp
direction = in
}
[
position = 6032, 7808
hide_name = True
size = 95, 20
]
tag Goto45 {
value = "voltage"
scope = local
kind = sp
direction = in
}
[
position = 6032, 7864
hide_name = True
size = 95, 20
]
tag Goto46 {
value = "current"
scope = local
kind = sp
direction = in
}
[
position = 6032, 7928
hide_name = True
size = 95, 20
]
tag From23 {
value = "weldCheck"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7728
hide_name = True
size = 98, 20
]
tag From24 {
value = "availVoltage"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7760
hide_name = True
size = 102, 20
]
tag From25 {
value = "availCurrent"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7792
hide_name = True
size = 98, 20
]
tag From26 {
value = "thresholdVoltage"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7824
hide_name = True
size = 102, 20
]
tag From27 {
value = "bChademo10Protocol"
scope = local
kind = sp
direction = out
}
[
position = 6600, 7864
hide_name = True
size = 115, 20
]
tag From28 {
value = "presentVoltage"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7896
hide_name = True
size = 102, 20
]
tag From29 {
value = "presentCurrent"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7928
hide_name = True
size = 98, 20
]
tag From30 {
value = "evseStatus"
scope = local
kind = sp
direction = out
}
[
position = 6608, 7960
hide_name = True
size = 102, 20
]
tag From31 {
value = "remainingChargeSeconds"
scope = local
kind = sp
direction = out
}
[
position = 6584, 7992
hide_name = True
size = 149, 20
]