File size: 1,059 Bytes
ecdcdbe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
 "name": "thermal_node_sim",
 "description": "Lumped thermal node for a pack or motor. power_loss_w is a constant (with duration_s) or a list with one value per step.",
 "parameters": {
  "type": "object",
  "properties": {
   "power_loss_w": {
    "anyOf": [
     {
      "type": "number",
      "minimum": 0
     },
     {
      "type": "array",
      "items": {
       "type": "number",
       "minimum": 0
      },
      "minItems": 1
     }
    ]
   },
   "thermal_cap_j_k": {
    "type": "number",
    "exclusiveMinimum": 0
   },
   "thermal_res_k_w": {
    "type": "number",
    "exclusiveMinimum": 0
   },
   "duration_s": {
    "type": "number",
    "exclusiveMinimum": 0
   },
   "dt_s": {
    "type": "number",
    "exclusiveMinimum": 0
   },
   "t_amb_c": {
    "type": "number"
   },
   "t_init_c": {
    "type": "number"
   },
   "component": {
    "type": "string",
    "enum": [
     "pack",
     "motor"
    ]
   }
  },
  "required": [
   "power_loss_w",
   "thermal_cap_j_k",
   "thermal_res_k_w"
  ],
  "additionalProperties": false
 }
}