mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added ashp cop to scenario db
This commit is contained in:
parent
4a291017d9
commit
c34969a941
4 changed files with 3004 additions and 0 deletions
1
src/app/db/migrations/0101_bent_stature.sql
Normal file
1
src/app/db/migrations/0101_bent_stature.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "scenario" ADD COLUMN "ashp_cop" real DEFAULT 2.8;
|
||||
2995
src/app/db/migrations/meta/0101_snapshot.json
Normal file
2995
src/app/db/migrations/meta/0101_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue