Skip to content

cost_variables

c228 = None module-attribute

c228 account cost

c229 = None module-attribute

c229 account cost

c23 = None module-attribute

c23 account cost

c25 = None module-attribute

c25 account cost

c26 = None module-attribute

c26 account cost

cindrt = None module-attribute

cindrt account cost

ccont = None module-attribute

ccont account cost

c226 = None module-attribute

c2261 = None module-attribute

c2262 = None module-attribute

c2263 = None module-attribute

c227 = None module-attribute

c2271 = None module-attribute

c2272 = None module-attribute

c2273 = None module-attribute

c2274 = None module-attribute

c24 = None module-attribute

c241 = None module-attribute

c242 = None module-attribute

c243 = None module-attribute

c244 = None module-attribute

c245 = None module-attribute

c21 = None module-attribute

c211 = None module-attribute

c212 = None module-attribute

c213 = None module-attribute

c214 = None module-attribute

c2141 = None module-attribute

c2142 = None module-attribute

c215 = None module-attribute

c216 = None module-attribute

c217 = None module-attribute

c2171 = None module-attribute

c2172 = None module-attribute

c2173 = None module-attribute

c2174 = None module-attribute

c22 = None module-attribute

c2211 = None module-attribute

c2212 = None module-attribute

c22121 = None module-attribute

c22122 = None module-attribute

c22123 = None module-attribute

c22124 = None module-attribute

c22125 = None module-attribute

c22126 = None module-attribute

c22127 = None module-attribute

c2213 = None module-attribute

c22131 = None module-attribute

c22132 = None module-attribute

c2214 = None module-attribute

c2215 = None module-attribute

c2221 = None module-attribute

c22211 = None module-attribute

c22212 = None module-attribute

c22213 = None module-attribute

c22214 = None module-attribute

c22215 = None module-attribute

c2222 = None module-attribute

c22221 = None module-attribute

c22222 = None module-attribute

c22223 = None module-attribute

c22224 = None module-attribute

c2223 = None module-attribute

c223 = None module-attribute

c2231 = None module-attribute

c2232 = None module-attribute

c2233 = None module-attribute

c2234 = None module-attribute

c224 = None module-attribute

c2241 = None module-attribute

c2242 = None module-attribute

c2243 = None module-attribute

c2244 = None module-attribute

c2245 = None module-attribute

c2246 = None module-attribute

c225 = None module-attribute

c2251 = None module-attribute

c22511 = None module-attribute

c22512 = None module-attribute

c22513 = None module-attribute

c22514 = None module-attribute

c22515 = None module-attribute

c2252 = None module-attribute

c22521 = None module-attribute

c22522 = None module-attribute

c22523 = None module-attribute

c22524 = None module-attribute

c22525 = None module-attribute

c22526 = None module-attribute

c22527 = None module-attribute

c2253 = None module-attribute

chx = None module-attribute

cpp = None module-attribute

cppa = None module-attribute

c22128 = None module-attribute

abktflnc = None module-attribute

allowable first wall/blanket neutron fluence (MW-yr/m2) (blktmodel=0)

adivflnc = None module-attribute

allowable divertor heat fluence (MW-yr/m2)

blkcst = None module-attribute

blanket direct cost (M$)

c221 = None module-attribute

total account 221 cost (M$) - first wall, blanket, shield, support structure and div plates

c222 = None module-attribute

total account 222 cost (M$) - TF coils + PF coils

capcost = None module-attribute

total capital cost including interest (M$)

cconfix = None module-attribute

fixed cost of superconducting cable ($/m)

cconshpf = None module-attribute

cost of PF coil steel conduit/sheath ($/m)

cconshtf = None module-attribute

cost of TF coil steel conduit/sheath ($/m)

cdcost = None module-attribute

current drive direct costs (M$)

cdirt = None module-attribute

total plant direct cost (M$)

life_hcd_fpy = None module-attribute

Full power year lifetime of heating/current drive system (y)

cdrlife_cal = None module-attribute

Calendar year lifetime of heating/current drive system (y)

f_t_plant_available = None module-attribute

Total plant availability fraction; input if i_plant_availability=0

cpfact = None module-attribute

Total plant capacity factor

cfind = None module-attribute

indirect cost factor (func of lsa) (cost model = 0)

cland = None module-attribute

cost of land (M$)

coe = None module-attribute

cost of electricity ($/MW-hr)

coecap = None module-attribute

capital cost of electricity (m$/kW-hr)

coefuelt = None module-attribute

'fuel' (including replaceable components) contribution to cost of electricity (m$/kW-hr)

coeoam = None module-attribute

operation and maintenance contribution to cost of electricity (m$/kW-hr)

concost = None module-attribute

plant construction cost (M$)

costexp = None module-attribute

cost exponent for scaling in 2015 costs model

costexp_pebbles = None module-attribute

cost exponent for pebbles in 2015 costs model

cost_factor_buildings = None module-attribute

cost scaling factor for buildings

cost_factor_land = None module-attribute

cost scaling factor for land

cost_factor_tf_coils = None module-attribute

cost scaling factor for fwbs

cost_factor_rh = None module-attribute

cost scaling factor for remote handling

cost_factor_vv = None module-attribute

cost scaling factor for vacuum vessel

cost_factor_bop = None module-attribute

cost scaling factor for energy conversion system

cost_factor_misc = None module-attribute

cost scaling factor for remaining subsystems

maintenance_fwbs = None module-attribute

Maintenance cost factor: first wall, blanket, shield, divertor

maintenance_gen = None module-attribute

Maintenance cost factor: All other components except coils, vacuum vessel, thermal shield, cryostat, land

amortization = None module-attribute

amortization factor (fixed charge factor) "A" (years)

cost_model = None module-attribute

Switch for cost model: - =0 use $ 1990 PROCESS model - =1 use $ 2014 Kovari model - =2 use user-provided model

i_cp_lifetime = None module-attribute

Switch for the centrepost lifetime constraint 0 : The CP full power year lifetime is set by the user via cplife_input 1 : The CP lifetime is equal to the divertor lifetime 2 : The CP lifetime is equal to the breeding blankets lifetime 3 : The CP lifetime is equal to the plant lifetime

cowner = None module-attribute

owner cost factor

cplife_input = None module-attribute

User input full power year lifetime of the centrepost (years) (i_cp_lifetime = 0)

cplife = None module-attribute

Calculated full power year lifetime of centrepost (years)

cplife_cal = None module-attribute

Calculated calendar year lifetime of centrepost (years)

cpstcst = None module-attribute

ST centrepost direct cost (M$)

cpstflnc = None module-attribute

allowable ST centrepost neutron fluence (MW-yr/m2)

crctcore = None module-attribute

reactor core costs (categories 221, 222 and 223)

csi = None module-attribute

allowance for site costs (M$)

cturbb = None module-attribute

cost of turbine building (M$)

decomf = None module-attribute

proportion of constructed cost required for decommissioning fund

dintrt = None module-attribute

diff between borrowing and saving interest rates

divcst = None module-attribute

divertor direct cost (M$)

life_div_fpy = None module-attribute

Full power year lifetime of divertor (fpy)

life_div = None module-attribute

Calendar year lifetime of divertor (y)

dtlife = None module-attribute

period prior to the end of the plant life that the decommissioning fund is used (years)

fcap0 = None module-attribute

average cost of money for construction of plant assuming design/construction time of six years

fcap0cp = None module-attribute

average cost of money for replaceable components assuming lead time for these of two years

fcdfuel = None module-attribute

fraction of current drive cost treated as fuel (if ifueltyp = 1)

fcontng = None module-attribute

project contingency factor

fcr0 = None module-attribute

fixed charge rate during construction

fkind = None module-attribute

multiplier for Nth of a kind costs

fwallcst = None module-attribute

first wall cost (M$)

i_plant_availability = None module-attribute

Switch for plant availability model: - =0 use input value for f_t_plant_available - =1 calculate f_t_plant_available using Taylor and Ward 1999 model - =2 calculate f_t_plant_available using new (2015) model - =3 calculate f_t_plant_available using ST model

ibkt_life = None module-attribute

Switch for fw/blanket lifetime calculation in availability module: - =0 use neutron fluence model - =1 use fusion power model (DEMO only)

life_dpa = None module-attribute

Allowable DPA from DEMO fw/blanket lifetime calculation in availability module

bktcycles = None module-attribute

Number of fusion cycles to reach allowable DPA from DEMO fw/blanket lifetime calculation

avail_min = None module-attribute

Minimum availability (constraint equation 61)

tok_build_cost_per_vol = None module-attribute

Unit cost for tokamak complex buildings, including building and site services ($/m3)

light_build_cost_per_vol = None module-attribute

Unit cost for unshielded non-active buildings ($/m3)

num_rh_systems = None module-attribute

Number of remote handling systems (1-10)

conf_mag = None module-attribute

c parameter, which determines the temperature margin at which magnet lifetime starts to decline

div_prob_fail = None module-attribute

Divertor probability of failure (per op day)

div_umain_time = None module-attribute

Divertor unplanned maintenance time (years)

div_nref = None module-attribute

Reference value for cycle cycle life of divertor

div_nu = None module-attribute

The cycle when the divertor fails with 100% probability

fwbs_nref = None module-attribute

Reference value for cycle life of blanket

fwbs_nu = None module-attribute

The cycle when the blanket fails with 100% probability

fwbs_prob_fail = None module-attribute

Fwbs probability of failure (per op day)

fwbs_umain_time = None module-attribute

Fwbs unplanned maintenance time (years)

redun_vacp = None module-attribute

Vacuum system pump redundancy level (%)

redun_vac = None module-attribute

Number of redundant vacuum pumps

t_plant_operational_total_yrs = None module-attribute

Operational time (yrs)

t_blkt_replace_yrs = None module-attribute

time taken to replace blanket (y) (i_plant_availability=1)

tcomrepl = None module-attribute

time taken to replace both blanket and divertor (y) (i_plant_availability=1)

t_div_replace_yrs = None module-attribute

Time taken to replace divertor (y) (i_plant_availability=1)

uubop = None module-attribute

unplanned unavailability factor for balance of plant (i_plant_availability=1)

uucd = None module-attribute

unplanned unavailability factor for current drive (i_plant_availability=1)

uudiv = None module-attribute

unplanned unavailability factor for divertor (i_plant_availability=1)

uufuel = None module-attribute

unplanned unavailability factor for fuel system (i_plant_availability=1)

uufw = None module-attribute

unplanned unavailability factor for first wall (i_plant_availability=1)

uumag = None module-attribute

unplanned unavailability factor for magnets (i_plant_availability=1)

uuves = None module-attribute

unplanned unavailability factor for vessel (i_plant_availability=1)

ifueltyp = None module-attribute

Switch for fuel type: - =2 treat initial blanket, divertor, first wall as capital costs. Treat all later items and fraction fcdfuel of CD equipment as fuel costs - =1 treat blanket divertor, first wall and fraction fcdfuel of CD equipment as fuel cost - =0 treat these as capital cost

ipnet = None module-attribute

Switch for net electric power calculation: - =0 scale so that always > 0 - =1 let go < 0 (no c-o-e)

ireactor = None module-attribute

Switch for net electric power and cost of electricity calculations: - =0 do not calculate MW(electric) or c-o-e - =1 calculate MW(electric) and c-o-e

lsa = None module-attribute

Level of safety assurance switch (generally, use 3 or 4): - =1 truly passively safe plant - =2,3 in-between - =4 like current fission plant

moneyint = None module-attribute

interest portion of capital cost (M$)

output_costs = None module-attribute

Switch for costs output: - =0 do not write cost-related outputs to file - =1 write cost-related outputs to file

discount_rate = None module-attribute

effective cost of money in constant dollars

startupratio = None module-attribute

ratio of additional HCD power for start-up to flat-top operational requirements

startuppwr = None module-attribute

cost associated with additional HCD system power required on start-up ($)

supercond_cost_model = None module-attribute

Switch for superconductor cost model: - =0 use $/kg - =1 use $/kAm

life_plant = None module-attribute

Full power year plant lifetime (years)

tmain = None module-attribute

Maintenance time for replacing CP (years) (i_plant_availability = 3)

u_unplanned_cp = None module-attribute

User-input CP unplanned unavailability (i_plant_availability = 3)

UCAD = 180.0 module-attribute

unit cost for administration buildings (M$/m3)

UCAF = 1500000.0 module-attribute

unit cost for aux facility power equipment ($)

UCAHTS = 31.0 module-attribute

unit cost for aux heat transport equipment ($/W**exphts)

UCAP = 17.0 module-attribute

unit cost of auxiliary transformer ($/kVA)

ucblbe = None module-attribute

unit cost for blanket beryllium ($/kg)

ucblbreed = None module-attribute

unit cost for breeder material ($/kg) (blktmodel>0)

ucblli = None module-attribute

unit cost for blanket lithium ($/kg) (30% Li6)

ucblli2o = None module-attribute

unit cost for blanket Li_2O ($/kg)

ucbllipb = None module-attribute

unit cost for blanket Li-Pb ($/kg) (30% Li6)

ucblss = None module-attribute

unit cost for blanket stainless steel ($/kg)

ucblvd = None module-attribute

unit cost for blanket vanadium ($/kg)

UCBPMP = 292500.0 module-attribute

vacuum system backing pump cost ($)

ucbus = None module-attribute

cost of aluminium bus for TF coil ($/A-m)

uccase = None module-attribute

cost of superconductor case ($/kg)

UCCO = 350.0 module-attribute

unit cost for control buildings (M$/m3)

uccpcl1 = None module-attribute

cost of high strength tapered copper ($/kg)

uccpclb = None module-attribute

cost of TF outboard leg plate coils ($/kg)

UCCPMP = 390000.0 module-attribute

vacuum system cryopump cost ($)

UCCR = 460.0 module-attribute

unit cost for cryogenic building (M$/vol)

uccry = None module-attribute

heat transport system cryoplant costs ($/W**expcry)

uccryo = None module-attribute

unit cost for vacuum vessel ($/kg)

uccu = None module-attribute

unit cost for copper in superconducting cable ($/kg)

UCDGEN = 1700000.0 module-attribute

cost per 8 MW diesel generator ($)

ucdiv = None module-attribute

cost of divertor blade ($)

UCDTC = 13.0 module-attribute

detritiation, air cleanup cost ($/10000m3/hr)

UCDUCT = 42250.0 module-attribute

vacuum system duct cost ($/m)

ucech = None module-attribute

ECH system cost ($/W)

UCEL = 380.0 module-attribute

unit cost for electrical equipment building (M$/m3)

UCES1 = 32000.0 module-attribute

MGF (motor-generator flywheel) cost factor ($/MVA**0.8)

UCES2 = 8800.0 module-attribute

MGF (motor-generator flywheel) cost factor ($/MJ**0.8)

ucf1 = None module-attribute

cost of fuelling system ($)

ucfnc = None module-attribute

outer PF coil fence support cost ($/kg)

UCFPR = 44000000.0 module-attribute

cost of 60g/day tritium processing unit ($)

ucfuel = None module-attribute

unit cost of D-T fuel (M$/year/1200MW)

UCFWA = 60000.0 module-attribute

first wall armour cost ($/m2)

UCFWPS = 10000000.0 module-attribute

first wall passive stabiliser cost ($)

UCFWS = 53000.0 module-attribute

first wall structure cost ($/m2)

UCGSS = 35.0 module-attribute

cost of reactor structure ($/kg)

uche3 = None module-attribute

cost of helium-3 ($/kg)

uchrs = None module-attribute

cost of heat rejection system ($)

uchts = None module-attribute

cost of heat transport system equipment per loop ($/W); dependent on coolant type (i_blkt_coolant_type)

uciac = None module-attribute

cost of instrumentation, control & diagnostics ($)

ucich = None module-attribute

ICH system cost ($/W)

UCINT = 35.0 module-attribute

superconductor intercoil structure cost ($/kg)

uclh = None module-attribute

lower hybrid system cost ($/W)

UCLV = 16.0 module-attribute

low voltage system cost ($/kVA)

UCMB = 260.0 module-attribute

unit cost for reactor maintenance building (M$/m3)

ucme = None module-attribute

cost of maintenance equipment ($)

ucmisc = None module-attribute

miscellaneous plant allowance ($)

ucnbi = None module-attribute

NBI system cost ($/W)

UCNBV = 1000.0 module-attribute

cost of nuclear building ventilation ($/m3)

ucoam = None module-attribute

annual cost of operation and maintenance (M$/year/1200MW**0.5)

ucpens = None module-attribute

penetration shield cost ($/kg)

ucpfb = None module-attribute

cost of PF coil buses ($/kA-m)

ucpfbk = None module-attribute

cost of PF coil DC breakers ($/MVA**0.7)

ucpfbs = None module-attribute

cost of PF burn power supplies ($/kW**0.7)

ucpfcb = None module-attribute

cost of PF coil AC breakers ($/circuit)

ucpfdr1 = None module-attribute

cost factor for dump resistors ($/MJ)

ucpfic = None module-attribute

cost of PF instrumentation and control ($/channel)

ucpfps = None module-attribute

cost of PF coil pulsed power supplies ($/MVA)

UCPHX = 15.0 module-attribute

primary heat transport cost ($/W**exphts)

UCPP = 48.0 module-attribute

cost of primary power transformers ($/kVA**0.9)

ucrb = None module-attribute

cost of reactor building (M$/m3)

ucsc = None module-attribute

cost of superconductor ($/kg)

sc_mat_cost_0 = None module-attribute

cost of superconductor ($/kA m) at 6.4 T, 4.2 K

UCSH = 115.0 module-attribute

cost of shops and warehouses (M$/m3)

ucshld = None module-attribute

cost of shield structural steel ($/kg)

UCSWYD = 18400000.0 module-attribute

switchyard equipment costs ($)

uctfbr = None module-attribute

cost of TF coil breakers ($/W**0.7)

uctfbus = None module-attribute

cost of TF coil bus ($/kg)

UCTFDR = 0.000175 module-attribute

cost of TF coil dump resistors ($/J)

UCTFGR = 5000.0 module-attribute

additional cost of TF coil dump resistors ($/coil)

UCTFIC = 10000.0 module-attribute

cost of TF coil instrumentation and control ($/coil/30)

uctfps = None module-attribute

cost of TF coil power supplies ($/W**0.7)

uctfsw = None module-attribute

cost of TF coil slow dump switches ($/A)

UCTPMP = 110500.0 module-attribute

cost of turbomolecular pump ($)

UCTR = 370.0 module-attribute

cost of tritium building ($/m3)

ucturb = None module-attribute

cost of turbine plant equipment ($) (dependent on coolant type i_blkt_coolant_type)

UCVALV = 390000.0 module-attribute

vacuum system valve cost ($)

UCVDSH = 26.0 module-attribute

vacuum duct shield cost ($/kg)

UCVIAC = 1300000.0 module-attribute

vacuum system instrumentation and control cost ($)

ucwindpf = None module-attribute

cost of PF coil superconductor windings ($/m)

ucwindtf = None module-attribute

cost of TF coil superconductor windings ($/m)

UCWS = 460.0 module-attribute

cost of active assembly shop ($/m3)

ucwst = None module-attribute

cost of waste disposal (M$/y/1200MW)

init_cost_variables()

Source code in process/data_structure/cost_variables.py
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
def init_cost_variables():
    global c228
    c228 = 0.0

    global c229
    c229 = 0.0

    global c23
    c23 = 0.0

    global c25
    c25 = 0.0

    global c26
    c26 = 0.0

    global cindrt
    cindrt = 0.0

    global ccont
    ccont = 0.0

    global c226
    c226 = 0.0

    global c2261
    c2261 = 0.0

    global c2262
    c2262 = 0.0

    global c2263
    c2263 = 0.0

    global c227
    c227 = 0.0

    global c2271
    c2271 = 0.0

    global c2272
    c2272 = 0.0

    global c2273
    c2273 = 0.0

    global c2274
    c2274 = 0.0

    global c24
    c24 = 0.0

    global c241
    c241 = 0.0

    global c242
    c242 = 0.0

    global c243
    c243 = 0.0

    global c244
    c244 = 0.0

    global c245
    c245 = 0.0

    global c21
    c21 = 0.0

    global c211
    c211 = 0.0

    global c212
    c212 = 0.0

    global c213
    c213 = 0.0

    global c214
    c214 = 0.0

    global c2141
    c2141 = 0.0

    global c2142
    c2142 = 0.0

    global c215
    c215 = 0.0

    global c216
    c216 = 0.0

    global c217
    c217 = 0.0

    global c2171
    c2171 = 0.0

    global c2172
    c2172 = 0.0

    global c2173
    c2173 = 0.0

    global c2174
    c2174 = 0.0

    global c22
    c22 = 0.0

    global c2211
    c2211 = 0.0

    global c2212
    c2212 = 0.0

    global c22121
    c22121 = 0.0

    global c22122
    c22122 = 0.0

    global c22123
    c22123 = 0.0

    global c22124
    c22124 = 0.0

    global c22125
    c22125 = 0.0

    global c22126
    c22126 = 0.0

    global c22127
    c22127 = 0.0

    global c2213
    c2213 = 0.0

    global c22131
    c22131 = 0.0

    global c22132
    c22132 = 0.0

    global c2214
    c2214 = 0.0

    global c2215
    c2215 = 0.0

    global c2221
    c2221 = 0.0

    global c22211
    c22211 = 0.0

    global c22212
    c22212 = 0.0

    global c22213
    c22213 = 0.0

    global c22214
    c22214 = 0.0

    global c22215
    c22215 = 0.0

    global c2222
    c2222 = 0.0

    global c22221
    c22221 = 0.0

    global c22222
    c22222 = 0.0

    global c22223
    c22223 = 0.0

    global c22224
    c22224 = 0.0

    global c2223
    c2223 = 0.0

    global c223
    c223 = 0.0

    global c2231
    c2231 = 0.0

    global c2232
    c2232 = 0.0

    global c2233
    c2233 = 0.0

    global c2234
    c2234 = 0.0

    global c224
    c224 = 0.0

    global c2241
    c2241 = 0.0

    global c2242
    c2242 = 0.0

    global c2243
    c2243 = 0.0

    global c2244
    c2244 = 0.0

    global c2245
    c2245 = 0.0

    global c2246
    c2246 = 0.0

    global c225
    c225 = 0.0

    global c2251
    c2251 = 0.0

    global c22511
    c22511 = 0.0

    global c22512
    c22512 = 0.0

    global c22513
    c22513 = 0.0

    global c22514
    c22514 = 0.0

    global c22515
    c22515 = 0.0

    global c2252
    c2252 = 0.0

    global c22521
    c22521 = 0.0

    global c22522
    c22522 = 0.0

    global c22523
    c22523 = 0.0

    global c22524
    c22524 = 0.0

    global c22525
    c22525 = 0.0

    global c22526
    c22526 = 0.0

    global c22527
    c22527 = 0.0

    global c2253
    c2253 = 0.0

    global chx
    chx = 0.0

    global cpp
    cpp = 0.0

    global cppa
    cppa = 0.0

    global c22128
    c22128 = 0.0

    global \
        abktflnc, \
        adivflnc, \
        blkcst, \
        c221, \
        c222, \
        capcost, \
        cconfix, \
        cconshpf, \
        cconshtf, \
        cdcost, \
        cdirt, \
        cdrlife, \
        cdrlife_cal, \
        cfactr, \
        cpfact, \
        cfind, \
        cland, \
        coe, \
        coecap, \
        coefuelt, \
        coeoam, \
        concost, \
        costexp, \
        costexp_pebbles, \
        cost_factor_buildings, \
        cost_factor_land, \
        cost_factor_tf_coils, \
        cost_factor_fwbs, \
        cost_factor_rh, \
        cost_factor_vv, \
        cost_factor_bop, \
        cost_factor_misc, \
        maintenance_fwbs, \
        maintenance_gen, \
        amortization, \
        cost_model, \
        i_cp_lifetime, \
        cowner, \
        cplife_input, \
        cplife, \
        cplife_cal, \
        cpstcst, \
        cpstflnc, \
        crctcore, \
        csi, \
        cturbb, \
        decomf, \
        dintrt, \
        divcst, \
        divlife, \
        divlife_cal, \
        dtlife, \
        fcap0, \
        fcap0cp, \
        fcdfuel, \
        fcontng, \
        fcr0, \
        fkind, \
        fwallcst, \
        iavail, \
        ibkt_life, \
        life_dpa, \
        bktcycles, \
        avail_min, \
        tok_build_cost_per_vol, \
        light_build_cost_per_vol, \
        num_rh_systems, \
        conf_mag, \
        div_prob_fail, \
        div_umain_time, \
        div_nref, \
        div_nu, \
        fwbs_nref, \
        fwbs_nu, \
        fwbs_prob_fail, \
        fwbs_umain_time, \
        redun_vacp, \
        redun_vac, \
        t_operation, \
        tbktrepl, \
        tcomrepl, \
        tdivrepl, \
        uubop, \
        uucd, \
        uudiv, \
        uufuel, \
        uufw, \
        uumag, \
        uuves, \
        ifueltyp, \
        ipnet, \
        ireactor, \
        lsa, \
        moneyint, \
        output_costs, \
        discount_rate, \
        startupratio, \
        startuppwr, \
        supercond_cost_model, \
        tlife, \
        tmain, \
        u_unplanned_cp, \
        ucblbe, \
        ucblbreed, \
        ucblli, \
        ucblli2o, \
        ucbllipb, \
        ucblss, \
        ucblvd, \
        ucbus, \
        uccase, \
        uccpcl1, \
        uccpclb, \
        uccry, \
        uccryo, \
        uccu, \
        ucdiv, \
        ucech, \
        uces1, \
        uces2, \
        ucf1, \
        ucfnc, \
        ucfuel, \
        uche3, \
        uchrs, \
        uchts, \
        uciac, \
        ucich, \
        uclh, \
        ucme, \
        ucmisc, \
        ucnbi, \
        ucoam, \
        ucpens, \
        ucpfb, \
        ucpfbk, \
        ucpfbs, \
        ucpfcb, \
        ucpfdr1, \
        ucpfps, \
        ucrb, \
        ucsc, \
        sc_mat_cost_0, \
        ucshld, \
        uctfbr, \
        uctfbus, \
        uctfps, \
        uctfsw, \
        uctpmp, \
        ucturb, \
        ucwindpf, \
        ucwindtf, \
        ucws, \
        ucwst, \
        ucpfic, \
        life_hcd_fpy, \
        f_t_plant_available, \
        life_div_fpy, \
        life_div, \
        i_plant_availability, \
        t_plant_operational_total_yrs, \
        t_blkt_replace_yrs, \
        t_div_replace_yrs, \
        life_plant

    abktflnc = 5.0
    adivflnc = 7.0
    blkcst = 0.0
    c221 = 0.0
    c222 = 0.0
    capcost = 0.0
    cconfix = 80.0
    cconshpf = 70.0
    cconshtf = 75.0
    cdcost = 0.0
    cdirt = 0.0
    life_hcd_fpy = 0.0
    cdrlife_cal = 0.0
    f_t_plant_available = 0.75
    cpfact = 0.0
    cfind = [0.244, 0.244, 0.244, 0.29]
    cland = 19.2
    coe = 0.0
    coecap = 0.0
    coefuelt = 0.0
    coeoam = 0.0
    concost = 0.0
    costexp = 0.8
    costexp_pebbles = 0.6
    cost_factor_buildings = 1.0
    cost_factor_land = 1.0
    cost_factor_tf_coils = 1.0
    cost_factor_fwbs = 1.0
    cost_factor_rh = 1.0
    cost_factor_vv = 1.0
    cost_factor_bop = 1.0
    cost_factor_misc = 1.0
    maintenance_fwbs = 0.2
    maintenance_gen = 0.05
    amortization = 13.6
    cost_model = 1
    cowner = 0.15
    cplife = 0.0
    cplife_cal = 0.0
    cpstcst = 0.0
    cpstflnc = 10.0
    crctcore = 0.0
    csi = 16.0
    cturbb = 38.0
    decomf = 0.1
    dintrt = 0.0
    divcst = 0.0
    life_div_fpy = 0.0
    life_div = 0.0
    dtlife = 0.0
    fcap0 = 1.165
    fcap0cp = 1.08
    fcdfuel = 0.1
    fcontng = 0.195
    fcr0 = 0.0966
    fkind = 1.0
    fwallcst = 0.0
    i_plant_availability = 2
    ibkt_life = 0
    life_dpa = 50
    bktcycles = 1.0e3
    avail_min = 0.75
    tok_build_cost_per_vol = 1283.0
    light_build_cost_per_vol = 270.0
    num_rh_systems = 4
    conf_mag = 0.99
    div_prob_fail = 0.0002
    div_umain_time = 0.25
    div_nref = 7000.0
    div_nu = 14000.0
    fwbs_nref = 20000.0
    fwbs_nu = 40000.0
    fwbs_prob_fail = 0.0002
    fwbs_umain_time = 0.25
    redun_vacp = 25.0
    redun_vac = 0
    t_plant_operational_total_yrs = 0.0
    t_blkt_replace_yrs = 0.5
    tcomrepl = 0.5
    t_div_replace_yrs = 0.25
    uubop = 0.02
    uucd = 0.02
    uudiv = 0.04
    uufuel = 0.02
    uufw = 0.04
    uumag = 0.02
    uuves = 0.04
    ifueltyp = 0
    ipnet = 0
    ireactor = 1
    lsa = 4
    moneyint = 0.0
    output_costs = 1
    discount_rate = 0.0435
    startupratio = 1.0
    startuppwr = 0.0
    life_plant = 30.0
    ucblbe = 260.0
    ucblbreed = 875.0
    ucblli = 875.0
    ucblli2o = 600.0
    ucbllipb = 10.3
    ucblss = 90.0
    ucblvd = 200.0
    ucbus = 0.123
    uccase = 50.0
    uccpcl1 = 250.0
    uccpclb = 150.0
    uccry = 9.3e4
    uccryo = 32.0
    uccu = 75.0
    ucdiv = 2.8e5
    ucech = 3.0
    ucf1 = 2.23e7
    ucfnc = 35.0
    ucfuel = 3.45
    uche3 = 1.0e6
    uchrs = 87.9e6
    uchts = [15.3, 19.1]
    uciac = 1.5e8
    ucich = 3.0
    uclh = 3.3
    ucme = 1.25e8
    ucmisc = 2.5e7
    ucnbi = 3.3
    ucoam = [68.8, 68.8, 68.8, 74.4]
    ucpens = 32.0
    ucpfb = 210.0
    ucpfbk = 1.66e4
    ucpfbs = 4.9e3
    ucpfcb = 7.5e4
    ucpfdr1 = 150.0
    ucpfic = 1.0e4
    ucpfps = 3.5e4
    ucrb = 400.0
    ucsc = [
        600.0,
        600.0,
        300.0,
        600.0,
        600.0,
        600.0,
        300.0,
        1200.0,
        1200.0,
    ]
    sc_mat_cost_0 = [4.8, 2.0, 1.0, 4.8, 4.8, 47.4, 1.0, 47.4, 47.4]
    supercond_cost_model = 0
    ucshld = 32.0
    uctfbr = 1.22
    uctfbus = 100.0
    uctfps = 24.0
    uctfsw = 1.0
    ucturb = [230.0e6, 245.0e6]
    ucwindpf = 465.0
    ucwindtf = 480.0
    ucwst = [0.0, 3.94, 5.91, 7.88]
    u_unplanned_cp = 0.0
    i_cp_lifetime = 0
    cplife_input = 2.0