emoncms / MyHomeEnergyPlanner

My Home Energy Planner - Open Source home energy assessment software based on emoncms framework + openbem
GNU Affero General Public License v3.0
22 stars 27 forks source link

SAP version 10 is here!!! #402

Closed ghost closed 4 years ago

ghost commented 6 years ago

https://bregroup.com/sap/sap10/

Skim read suggests there are some improvements (e.g. in lighting calcs and PV related issues) that we should incorporate in MHEP. Though needs a thorough review and consider whether for example, there are other better methodologies for some elements (e.g. BREDEM or something similar for hot water calcs).

I'm happy to have an initial stab at this, and log each individual improvement/change as an issue on github for discussion/implementation.

Sharing the full doc so everyone can see and comment on the whole too (suggest you look at the 'changes' doc first), or log an individual issue here in response.

We also need to think about version control - How this affects older assessments could create inconsitencies/ confusions in older/completed assessments. Important when we now have an archive of older assessments that we need to keep accessible/understandable (feeds into the 'log-book' discussion). Is there a way of isolating them, so you always have a version that runs on the calculation/report as originally produced, but also see the changes due to revised calc methods/ report formats etc?

ghost commented 6 years ago

Useful article on carbon factors here: https://www.cibsejournal.com/general/sap-in-building-regulations/?utm_source=marketingcloud&utm_medium=email&utm_campaign=Journal%20Newsletter%20September%202018&utm_term=0032000001nA5joAAC

cagabi commented 6 years ago

I think for the implementation of the changes it would be useful to create one issue per change. Marianne, better if you create them as you say you may find that there are better methodologies. So I prefer you telling me what to do.

In terms of version control what our options are depend on the nature of the changes we have to do in MHEP:

  1. If the changes are only made in the model (and the user interface doesn't change) we could have a tick box somewhere to choose which SAP version to use. In this case we would keep the files for SAP2012 and create new ones for SAP10 and run one model or the other according to the user's choice
  2. If the changes are also done to the user interface, keeping the possibility to choose the SAP version would be more work and more difficult to maintain. In this case I think the best option would be to create an archived MHEP for the old assessments.

Things to consider:

So with all of this my proposal is:

cagabi commented 5 years ago

After implementing #410 I have realised there is no need to worry about the problems I say in point 2.

Now the version of the model gets saved with the assessment. All the assessment that share the major version (10.1.1) will always be compatible and the user will be able to choose between them. If the implementation of SAP10 requieres and increment in that major version (becoming 11.0.0) when rendering the user interface we can check the value of the major version and display the right inputs.

There is no need to keep different MHEP sites for major versions of the model, phew.

ghost commented 4 years ago

Procrastination has it's benefits - here comes SAP 10.1: https://www.bregroup.com/sap/sap10/

gervasemangwana commented 4 years ago

I hardly dare say it but ditch SAP and go PH?

Gervase Mangwana

Waxwing Energy 07956378981 info@waxwingenergy.co.uk

On 2 Oct 2019, at 12:20, marianneURBED notifications@github.com wrote:

Procrastination has it's benefits - here comes SAP 10.1: https://www.bregroup.com/sap/sap10/ https://www.bregroup.com/sap/sap10/ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emoncms/MyHomeEnergyPlanner/issues/402?email_source=notifications&email_token=AD4KCMOS2VA2GO5PE4YZAGLQMR7ZLA5CNFSM4FQHOS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEM5WA#issuecomment-537448152, or mute the thread https://github.com/notifications/unsubscribe-auth/AD4KCMNQNCFXGVMYG7NRNS3QMR7ZLANCNFSM4FQHOS7A.

ghost commented 4 years ago

Ha! I think you’ll make people’s hair fall out with fright.

The dream is to run both!

M

From: gervasemangwana notifications@github.com Reply to: emoncms/MyHomeEnergyPlanner reply@reply.github.com Date: Wednesday, 2 October 2019 at 13:13 To: emoncms/MyHomeEnergyPlanner MyHomeEnergyPlanner@noreply.github.com Cc: Marianne Heaslip marianne@urbed.coop, Assign assign@noreply.github.com Subject: Re: [emoncms/MyHomeEnergyPlanner] SAP version 10 is here!!! (#402)

I hardly dare say it but ditch SAP and go PH?

Gervase Mangwana

Waxwing Energy 07956378981 info@waxwingenergy.co.uk

On 2 Oct 2019, at 12:20, marianneURBED notifications@github.com wrote:

Procrastination has it's benefits - here comes SAP 10.1: https://www.bregroup.com/sap/sap10/ https://www.bregroup.com/sap/sap10/ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emoncms/MyHomeEnergyPlanner/issues/402?email_source=notifications&email_token=AD4KCMOS2VA2GO5PE4YZAGLQMR7ZLA5CNFSM4FQHOS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEM5WA#issuecomment-537448152, or mute the thread https://github.com/notifications/unsubscribe-auth/AD4KCMNQNCFXGVMYG7NRNS3QMR7ZLANCNFSM4FQHOS7A.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/emoncms/MyHomeEnergyPlanner/issues/402?email_source=notifications&email_token=AD4M4K4747JW3W2V6EHBMGTQMSGAHA5CNFSM4FQHOS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEQ5AQ#issuecomment-537464450, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD4M4KZFEBPCILIPGROJY5DQMSGAHANCNFSM4FQHOS7A.

ghost commented 4 years ago

SAP 10 calculation improvements separated into different issues and so this is superseded.