-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIllustr_ObsoTot.py
More file actions
49 lines (39 loc) · 1.26 KB
/
Illustr_ObsoTot.py
File metadata and controls
49 lines (39 loc) · 1.26 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
NumberHosp = 18
NumberSnow = 3
DaysperHosp = 2
OneTimeSnowFee = 300
SnowLateDayRate = 30
DaysPerOneSnow = 10
TeraBperSnow = 80
S3costperTera = 23.5
S3InfrCostperTera = 12.5
S3GlacDeepCostperTera = 5
PercTotS3Store = .1
PercTotInfAcc = .15
PercTotStorage = 1
PercTotGlacDeep = PercTotStorage - PercTotInfAcc - PercTotS3Store
InstallDays = 10
dayrate = 1150
TotStorage = TeraBperSnow * NumberSnow
PercTotGlacDeep = PercTotStorage - PercTotS3Store - PercTotInfAcc
CostS3Storage = TotStorage * PercTotS3Store * S3costperTera
CostInfAccess = TotStorage * PercTotInfAcc * S3InfrCostperTera
CostGlacDeep = TotStorage * PercTotGlacDeep * S3GlacDeepCostperTera
TotBackupDays = NumberHosp * DaysperHosp
TotLateSnowDays = TotBackupDays - DaysPerOneSnow * NumberSnow
TotLateSnowCharge = TotLateSnowDays * SnowLateDayRate
TotOneTimeSnowFee = OneTimeSnowFee * NumberSnow
TotSnowfees = TotOneTimeSnowFee + TotLateSnowCharge
TotAWSfees = TotSnowfees + CostS3Storage + CostInfAccess + CostGlacDeep
days = InstallDays + TotBackupDays
pay = days * dayrate
TotEngageFees = TotAWSfees + pay
print(CostS3Storage)
print(CostInfAccess)
print(CostGlacDeep)
print("----------------------------")
print(TotSnowfees)
print(TotAWSfees)
print("----------------------------")
print(pay)
print(TotEngageFees)