added ashp cop to scenario db

This commit is contained in:
Khalim Conn-Kowlessar 2025-07-19 14:21:25 +01:00
parent 4a291017d9
commit c34969a941
4 changed files with 3004 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "scenario" ADD COLUMN "ashp_cop" real DEFAULT 2.8;

File diff suppressed because it is too large Load diff

View file

@ -708,6 +708,13 @@
"when": 1749810028140,
"tag": "0100_wakeful_doctor_doom",
"breakpoints": true
},
{
"idx": 101,
"version": "5",
"when": 1752931250899,
"tag": "0101_bent_stature",
"breakpoints": true
}
]
}

View file

@ -109,6 +109,7 @@ export const scenario = pgTable("scenario", {
housingType: housingTypeEnum("housing_type").notNull(),
goal: goalEnum("goal").notNull(),
goalValue: text("goal_value"),
ashpCop: real("ashp_cop").default(2.8), // Coefficient of Performance for Air Source Heat Pumps defaults to 2.8
triggerFilePath: text("trigger_file_path"),
alreadyInstalledFilePath: text("already_installed_file_path"),
patchesFilePath: text("patches_file_path"),