-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfunctions.ibfm
398 lines (395 loc) · 17.6 KB
/
functions.ibfm
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
function ImportGas cost 11e6
mode 1 Operational NominalGasSource
mode 2 Degraded NotCompleteGasSource prob 1en7 beginning cost 1
mode 3 Failed NoGasSource prob 1en8 beginning
function ImportHeat cost 4e6
mode 1 Operational NominalHeatSource
mode 2 Degraded LowHeatSource prob 1en4 midway cost 1
mode 3 Degraded HighHeatSource prob 1en4 midway cost 1
mode 4 Failed NoHeatSource prob 5en5 midway cost 1
function BranchHeat cost 1e4
mode 1 Operational NominalBranchHeat
function BranchGas cost 1e3
mode 1 Operational NominalBranchGas
function CombineGas cost 1e4
mode 1 Operational CombineDegradedGas
mode 2 Operational NominalGasOut
condition 1 to 2 AnyNominalGasInput
condition 2 to 1 NoNominalGasInput
function CombineHeat cost 1e4
mode 1 Operational NormalHeat
mode 2 Operational RecoveredHeat
condition 1 to 2 LostPrimaryHeat
function ContainGas cost 5e4
mode 1 Operational NominalContaining
mode 2 Degraded Leaking prob 1en5 early cost 1
mode 3 Failed NoContaining prob 1en6 early cost 1
function ExpandGas cost 5e4
mode 1 Operational NominalExpansion
mode 2 Degraded HighExpansion prob 5en6 late cost 1
mode 3 Degraded LowExpansion prob 5en5 late cost 1
function ConductExpandedGas cost 3e4
mode 1 Operational NominalConductingExpandedGas
mode 2 Degraded PartialConductingExpandedGas prob 5en5 midway cost 1
mode 3 Failed NoConductingExpandedGas prob 1en5 early cost 1
function SenseGasRate cost 2e4
mode 1 Operational NominalGasSensing
mode 2 Degraded DriftingLowGasSensing prob 5en4 late cost 1
mode 3 Degraded DriftingHighGasSensing prob 5en4 late cost 1
mode 4 Failed NoGasSensing prob 1en4 midway cost 1
function AdjustGasFlow cost 6e4
mode 1 Operational NominalFlowAdjustment
mode 2 Degraded PartialLowAdjustment prob 1en4 late cost 1
mode 3 Degraded PartialHighAdjustment prob 1en4 late cost 1
mode 4 Failed NoAdjustment prob 5en5 midway cost 1
mode 6 Failed NoAdjustmentLow prob 1en5 midway cost 1
function ExportExcessGas cost 1e4
mode 1 Operational NominalExportGas
function ConductAdjustedGas cost 5e4
mode 1 Operational NominalConductingAdjustedGas
mode 2 Degraded PartialConductingAdjustedGas prob 5en5 midway cost 1
mode 3 Failed NoConductingAdjustedGas prob 1en5 early cost 1
function MeasureGasPressure cost 7e3
mode 1 Operational NominalPressureSensing
mode 2 Degraded DriftingLowPressureSensing prob 5en4 late cost 1
mode 3 Degraded DriftingHighPressureSensing prob 5en4 late cost 1
mode 4 Failed NoPressureSensing prob 1en4 midway cost 1
function MeasureRGasPressure cost 7e3
mode 1 Operational NominalRPressureSensing
mode 2 Degraded DriftingRLowPressureSensing prob 5en4 late cost 1
mode 3 Degraded DriftingRHighPressureSensing prob 5en4 late cost 1
mode 4 Failed NoRPressureSensing prob 1en4 midway cost 1
function RegulateGasPressure cost 4e4
mode 1 Operational NominalPressureRegulating
mode 2 Degraded LowPressureRegulating prob 1en4 late cost 1
mode 3 Degraded HighPressureRegulating prob 1en4 late cost 1
mode 4 Failed NoPressureRegulating prob 5en5 midway cost 1
mode 5 Operational NoPressureToRegulate prob 0 midway
mode 6 Degraded NoPressureToRegulateLow prob 1en5 midway cost 1
mode 7 Degraded NoPressureToRegulateHigh prob 1en5 midway cost 1
condition 1 to 5 NoPressure
condition 2 to 6 NoPressure
condition 3 to 7 NoPressure
condition 5 to 1 NonZeroPressure
condition 6 to 2 NonZeroPressure
condition 7 to 3 NonZeroPressure
function RegulateAGasPressure cost 4e4
mode 1 Operational NominalAPressureRegulating
mode 2 Degraded LowAPressureRegulating prob 1en4 late cost 1
mode 3 Degraded HighAPressureRegulating prob 1en4 late cost 1
mode 4 Failed NoAPressureRegulating prob 5en5 midway cost 1
mode 5 Operational NoAPressureToRegulate prob 0 midway
mode 6 Degraded NoAPressureToRegulateLow prob 1en5 midway cost 1
mode 7 Degraded NoAPressureToRegulateHigh prob 1en5 midway cost 1
condition 1 to 5 NoPressure
condition 2 to 6 NoPressure
condition 3 to 7 NoPressure
condition 5 to 1 NonZeroPressure
condition 6 to 2 NonZeroPressure
condition 7 to 3 NonZeroPressure
function RegulateRGasPressure cost 4e4
mode 1 Operational NoRegulation
mode 2 Operational NominalRPressureRegulating
mode 3 Degraded LowRPressureRegulating prob 0 late cost 1
mode 4 Degraded HighRPressureRegulating prob 0 late cost 1
mode 5 Failed NoRPressureRegulating prob 0 midway cost 1
mode 6 Operational NoRPressureToRegulate prob 0 midway
mode 7 Degraded NoRPressureToRegulateLow prob 0 midway cost 1
mode 8 Degraded NoRPressureToRegulateHigh prob 0 midway cost 1
condition 1 to 2 SignalOn
condition 2 to 1 SignalOff
condition 2 to 6 NoRPressure
condition 3 to 7 NoRPressure
condition 4 to 8 NoRPressure
condition 6 to 2 NonZeroRPressure
condition 7 to 3 NonZeroRPressure
condition 8 to 4 NonZeroRPressure
function ConductRegulatedGas cost 5e4
mode 1 Operational NominalConductingRegulatedGas
mode 2 Degraded PartialConductingRegulatedGas prob 5en5 midway cost 1
mode 3 Failed NoConductingRegulatedGas prob 1en5 early cost 1
function ImportPropellant cost 44e6
mode 1 Operational NominalPropellant
mode 2 Degraded IncompletePropellant prob 1en7 beginning cost 1
mode 3 Failed NoPropellant prob 1en8 beginning cost 1
function ContainPropellant cost 16e6
mode 1 Operational NominalContainProp
mode 2 Degraded LeakingProp prob 1en5 early cost 1
mode 3 Failed NoContainingProp prob 1en6 early cost 1
function SensePropellantPT cost 1e4
mode 1 Operational NominalPropSensing
mode 2 Degraded DriftingLowPropSensing prob 5en4 late cost 1
mode 3 Degraded DriftingHighPropSensing prob 4en4 late cost 1
mode 4 Failed NoPropSensing prob 1en4 midway cost 1
function AdjustPropellantPT cost 1e6
mode 1 Operational NominalPTRegulating
mode 2 Degraded LowPTRegulating prob 1en4 midway cost 1
mode 3 Degraded HighPTRegulating prob 1en4 midway cost 1
mode 4 Failed NoPTRegulating prob 5en5 midway cost 1
mode 5 Failed NoIncreasePT prob 1en4 midway cost 1
mode 6 Degraded LowIncreasePT prob 1en4 midway cost 1
mode 7 Degraded HighIncreasePT prob 1en4 midway cost 1
mode 8 Failed TooHighIncreasePT prob 5en5 midway cost 1
condition 1 2 3 6 7 to 5 NoGastoPower
condition 1 2 3 5 7 to 6 LowGastoPower
condition 2 3 5 6 7 to 1 NominalGastoPower
condition 1 2 3 5 6 to 7 HighGastoPower
condition 1 2 3 4 6 7 to 8 TooHighGastoPower
function ExportRegulatedGas cost 1e4
mode 1 Operational NominalExportRegGas
function ConductPropellant cost 5e4
mode 1 Operational NominalConductingPropellant
mode 2 Degraded PartialConductingPropellant prob 5en5 midway cost 1
mode 3 Failed NoConductingPropellant prob 1en5 early cost 1
function SensePropellantRate cost 3e4
mode 1 Operational NominalPropRSensing
mode 2 Degraded DriftingLowPropRSensing prob 5en4 late cost 1
mode 3 Degraded DriftingHighPropRSensing prob 5en4 late cost 1
mode 4 Failed NoPropRSensing prob 1en4 midway cost 1
function AdjustPropRate cost 1e4
mode 1 Operational NominalPropRateAdjustment
mode 2 Degraded PartialLowPropRateAdjustment prob 1en4 midway cost 1
mode 3 Degraded PartialHighPropRateAdjustment prob 1en4 midway cost 1
mode 4 Failed NoPropRateAdjustment prob 5en5 midway cost 1
mode 6 Failed NoPropRateAdjustmentLow prob 1en5 midway cost 1
function ImportCatalyst cost 2e4
mode 1 Operational NominalCatalystSource
mode 2 Degraded NotCompleteCatalystSource prob 1en7 beginning cost 1
mode 3 Failed NoCatalystSource prob 1en8 beginning cost 1
function BranchPropellant cost 1e4
mode 1 Operational NominalBranchPropellant
function BranchCatalyst cost 5e3
mode 1 Operational NominalBranchCatalyst
function ContainCatalyst cost 1e5
mode 1 Operational NominalContainCatalyst
mode 2 Failed NoContainingCatalyst prob 1en6 early cost 1
function CombustPropellant cost 2e5
mode 1 Operational NominalCombustion
mode 2 Degraded PoorCombustion prob 5en5 midway cost 1
mode 3 Failed NoCombustion prob 1en5 midway cost 1
condition 1 3 to 2 LowCatalyst
condition 1 2 to 3 NoCatalyst
condition 2 3 to 1 NominalCatalyst
function CombineThrust cost 2e4
mode 1 Operational InactiveThrust
mode 2 Operational Thrust2Out
mode 3 Operational Thrust1Out
condition 1 to 2 AnyNonZeroThrust
condition 2 to 3 Thrust1Best
function RecoverHeat cost 1e5
mode 1 Operational NominalRecoverHeat
mode 2 Failed TooMuchRecovery prob 5en5 midway cost 1
function ExportHeatEnergy cost 1e4
mode 1 Operational HeatSink
mode 2 Degraded HotHeatSink prob 1en5 late cost 500
mode 3 Failed HottestHeatSink prob 5en6 late cost 1000
function ExportByproducts cost 1e4
mode 1 Operational ExportByproducts
function ExportThrust cost 1e4
mode 1 Operational ExportThrust
mode 2 Degraded ExportLowThrust prob 5en6 late cost 1
mode 3 Failed ExportNoThrust prob 1en6 late cost 1
mode 4 Failed TooMuchThrust prob 5en6 late cost 1
condition 1 2 to 3 Lowthrust
condition 2 3 to 1 NominalThrust
condition 1 3 to 2 NoThrust
condition 1 2 3 to 4 TooMuchThrust
function ImportElectricalEnergy cost 200
mode 1 Operational NominalVoltageSource
mode 2 Degraded LowVoltageSource prob 1en3 cost 100
mode 3 Degraded HighVoltageSource prob 5en4 cost 100
mode 4 Failed NoVoltageSource prob 1en3 cost 300
function ExportElectricalEnergy cost 1
mode 1 Operational ResistiveLoad
mode 2 Degraded ResistiveLoadD prob 1 cost 1
mode 3 Failed ShortCircuit prob 1 cost 1
mode 4 Failed OpenCircuit prob 1 cost 1
mode 5 Failed ResistiveLoadF prob 1 cost 1
condition 1 5 to 2 LowVoltage
condition 1 2 5 to 3 HighVoltage delay 10
condition 2 5 to 1 NominalVoltage
condition 1 2 5 to 3 HighestVoltage
condition 1 2 to 5 NoVoltage
function ImportChemicalEnergy cost 1
mode 1 Operational NominalChemicalEffortSource
mode 2 Degraded LowChemicalEffortSource prob 1 cost 1
mode 3 Failed NoChemicalEffortSource prob 1 cost 1
function ImportBinarySignal cost 500
mode 1 Operational NominalSignalSource
mode 2 Degraded PartialSignal prob 1en5 cost 750
mode 3 Failed ZeroSignalSource prob 1en6 cost 750
function StoreElectricalEnergy cost 1750
mode 1 Operational NominalStorage
mode 2 Degraded PartialStorage prob 5en4 cost 2000
mode 3 Failed NoStorage prob 5en5 cost 2000
function SupplyElectricalEnergy cost 400
mode 1 Operational NominalSupply
mode 2 Degraded AdverseResistance prob 5en5 cost 400
mode 3 Degraded MinorOverloading prob 1en5 cost 400
mode 4 Failed MajorOverloading prob 5en6 cost 400
mode 5 Failed ShortCircuit prob 1en7 cost 400
mode 6 Failed OpenCircuit prob 4en8 cost 200
condition 1 2 3 4 to 5 HighestCurrent
condition 1 2 3 to 4 HighCurrent
function ImportMaterial cost 1
mode 1 Operational NominalMaterialSource
mode 2 Failed NoMaterialSource prob 1 cost 1
function ExportMaterial cost 1
mode 1 Operational NominalMaterialSink
mode 2 Failed NoMaterialSink prob 1 cost 1
function ExportMechanicalEnergy cost 0.0
mode 1 Operational NominalMechSink
function ExportOpticalEnergy cost 0.0
mode 1 Operational NominalExportOpticalEnergy
function ProtectElectricalEnergy
mode 1 Operational ClosedCircuit
mode 2 Operational OpenCircuit
mode 3 Failed ClosedCircuit prob 1 cost 1
mode 4 Failed OpenCircuit prob 1 cost 1
mode 5 Failed ShortCircuit prob 1 cost 1
mode 6 Degraded AdverseResistance prob 1 cost 1
condition 1 to 2 HighCurrent delay 10
condition 1 to 2 HighestCurrent
condition 3 to 4 HighestCurrent delay 1
condition 5 to 4 NonZeroVoltage delay 1
function ActuateElectricalEnergy cost 1
mode 1 Operational ClosedCircuit
mode 2 Operational OpenCircuit default
mode 3 Failed ClosedCircuit prob 1 cost 1
mode 4 Failed OpenCircuit prob 1 cost 1
mode 5 Failed ShortCircuit prob 1 cost 1
mode 6 Degraded ClosedCircuit prob 1 cost 1
condition 2 to 1 NonZeroSignal
condition 1 to 2 ZeroSignal
condition 1 3 6 to 4 HighestCurrent delay 1
condition 5 to 4 NonZeroVoltage delay 1
condition 1 to 6 HighCurrent
function InvertElectricalEnergy cost 1
mode 1 Operational NominalInvertElectricalEnergy
mode 2 Operational NoInvertElectricalEnergy cost 1
mode 3 Failed NoInvertElectricalEnergy prob 1 cost 1
condition 1 to 2 LowVoltage
condition 1 to 2 HighVoltage
condition 2 to 1 NominalVoltage
condition 1 to 3 HighestCurrent
function BranchElectricalEnergy cost 1
mode 1 Operational NominalBranchElectricalEnergy
mode 2 Failed OpenCircuit prob 1 cost 1
condition 1 to 2 AnyHighestCurrent delay 2
function CombineElectricalEnergy cost 1
mode 1 Operational NominalCombineElectricalEnergy
mode 2 Failed OpenCircuit prob 1 cost 1
condition 1 to 2 HighestCurrent delay 2
function ConvertChemicalToElectricalEnergy
mode 1 Operational NominalChemicalToElectricalEnergyConversion
mode 2 Degraded InefficientChemicalToElectricalEnergyConversion prob 1 cost 1
mode 3 Failed ChemicalEnergyLossNoElectricalConversion prob 1 cost 1
mode 4 Failed NoChemicalToElectricalEnergyConversion prob 1 cost 1
condition 1 2 3 to 4 Hot delay 10
condition 1 2 3 to 4 Hottest delay 1
function ConvertElectricalEnergyToMechanicalEnergy cost 180
mode 1 Operational NominalElectricalToMechanicalEnergyConversion
mode 2 Degraded HighTorque prob 1en4 cost 200
mode 3 Degraded LowTorque prob 1en4 cost 200
mode 4 Failed TooHighTorque prob 5en5 cost 200
mode 5 Failed OpenCircuitNoMechanicalEnergyConversion prob 5en5 cost 200
mode 6 Failed ShortCircuitNoMechanicalEnergyConversion prob 5en5 cost 200
function ConvertElectricalEnergyToHeatEnergy cost 200
mode 1 Operational NominalElectricalToHeatConversion
mode 2 Degraded NotEnoughHeat prob 1en6 cost 200
mode 3 Degraded Hot prob 1en5 cost 200
mode 4 Failed TooHot prob 5en5 cost 200
mode 5 Failed OpenCircuitHeat prob 1en8 cost 200
condition 1 2 3 4 to 5 HighestVoltage
condition 1 to 2 HighVoltage
function DistributeElectricalEnergy cost 1500
mode 1 Operational NominalDistribution
mode 2 Degraded AdverseResistanceDist prob 1en4 cost 1500
mode 3 Degraded PoorAllocation prob 1en2 cost 500
mode 4 Failed ShortCircuitDist prob 5en4 cost 1500
mode 5 Failed OpenCircuitDist prob 5en4 cost 1500
mode 6 Operational OpenCircuitDist prob 0 cost 0
mode 7 Operational PoorAllocation prob 0 cost
condition 1 2 3 to 4 HighestCurrent
condition 1 to 6 LowSignal
condition 1 6 to 7 NoSignal
condition 6 7 to 1 NominalSignal
function ConvertElectricalEnergyToOpticalEnergy cost 100
mode 1 Operational NominalElectricalToOpticalEnergyConversion
mode 2 Degraded AdverseOpticalResistance prob 1en3 cost 70
mode 3 Failed NoElectricalToOpticalEnergyConversion prob 1en3 cost 100
condition 1 2 to 3 HighVoltage
function TransportMaterial cost 1
mode 1 Operational NominalTransportMaterial
mode 2 Degraded RestrictedTransportMaterial prob 1 cost 1
mode 3 Failed BlockedTransportMaterial prob 1 cost 1
function SenseVoltage cost 1
mode 1 Operational NominalVoltageSensing
mode 2 Degraded DriftingLowVoltageSensing prob 1 cost 1
mode 3 Degraded DriftingHighVoltageSensing prob 1 cost 1
mode 4 Failed NoVoltageSensing prob 1 cost 1
function SenseCurrent cost 1
mode 1 Operational NominalCurrentSensing
mode 2 Degraded DriftingLowCurrentSensing prob 1 cost 1
mode 3 Degraded DriftingHighCurrentSensing prob 1 cost 1
mode 4 Failed NoCurrentSensing prob 1 cost 1
function SenseTemperature cost 1
mode 1 Operational NominalTemperatureSensing
mode 2 Degraded DriftingLowTemperatureSensing prob 1 cost 1
mode 3 Degraded DriftingHighTemperatureSensing prob 1 cost 1
mode 4 Failed NoTemperatureSensing prob 1 cost 1
function ProcessSignalIsNominal cost 1
mode 1 Operational ZeroSignalSource
mode 2 Operational NominalSignalSource
condition 1 to 2 NominalSignal
condition 2 to 1 NonNominalSignal
function ProcessSignalAnd cost 1
mode 1 Operational ZeroSignalSource
mode 2 Operational NominalSignalSource
condition 1 to 2 NoZeroSignals
condition 2 to 1 AnyZeroSignals
function ProcessSignalOr cost 1
mode 1 Operational ZeroSignalSource
mode 2 Operational NominalSignalSource
condition 1 to 2 AnyNonZeroSignals
condition 2 to 1 AllZeroSignals
function ProcessSignalNot cost 1
mode 1 Operational ZeroSignalSource
mode 2 Operational NominalSignalSource
condition 1 to 2 ZeroSignal
condition 2 to 1 NonZeroSignal
function ControlElectrical cost 1
mode 1 Operational EqualVoltage
mode 2 Operational IncreaseVoltage
mode 3 Operational DecreaseVoltage
condition 2 3 to 1 LowSignal
condition 2 3 to 1 HighSignal
condition 2 3 to 1 NominalSignal
function ControlSig1 cost 1
mode 1 Operational EqualControl
mode 2 Operational IncreaseControl
mode 3 Operational DecreaseControl
condition 2 3 to 1 LowSignal
condition 1 3 to 2 HighSignal
condition 1 2 to 3 NominalSignal
function ControlSig2 cost 1
mode 1 Operational EqualControl
mode 2 Operational IncreaseControl
mode 3 Operational DecreaseControl
condition 2 3 to 1 LowSignal
condition 1 3 to 2 HighSignal
condition 1 2 to 3 NominalSignal
function ControlSig3 cost 1
mode 1 Operational EqualControl
mode 2 Operational IncreaseControl
mode 3 Operational DecreaseControl
condition 2 3 to 1 LowSignal
condition 1 3 to 2 HighSignal
condition 1 2 to 3 NominalSignal
function ControlSig4 cost 1
mode 1 Operational EqualControl
mode 2 Operational IncreaseControl
mode 3 Operational DecreaseControl
condition 2 3 to 1 LowSignal
condition 1 3 to 2 HighSignal
condition 1 2 to 3 NominalSignal