Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Adding Solar Battery in OpenStudio software

asked 2023-10-14 23:53:08 -0500

sheida's avatar

updated 2023-10-15 08:25:13 -0500

Hi guys, how can I add solar battery to the building in OpenStudio software? is it same as adding PV panels? please give me some hints about it.

thanks in advance

edit retag flag offensive close merge delete

Comments

You're after something like Li-ion batteries + PV (idf example), right? Answers depend on the OpenStudio frontend (e.g. Application, SketchUp plugin user scripts, Ruby/Python SDK-based scripts). BEopt supports this directly, for instance. So for which frontend?

Denis Bourgeois's avatar Denis Bourgeois  ( 2023-10-17 06:17:07 -0500 )edit

I modeled my building in sketch up and then use open studio to import data, I added PV panels in openstudio but it is on-grid PV, I need to add battery to PV and make it off-grid, I CAN share my file.

sheida's avatar sheida  ( 2023-10-28 21:34:00 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2023-10-30 08:52:57 -0500

updated 2023-10-30 08:57:19 -0500

I'm assuming you added PV via the OpenStudio SketchUp Plugin user script, which generates a basic PV setup, inverter & electric load distribution.

image description

I don't believe the OpenStudio Application supports PV editing. I also haven't found published measures that could support similar editing, or extend a basic PV setup to include Li-ion batteries. Hopefully someone more active in this area can prove me wrong. Otherwise, you're left with 3 options, IMO:

  1. Adapt an SDK-based script (like this one), so it opens your model and adds/links the required PV-related objects (OpenStudio-resources tests are awesome demos).

  2. Hack your generated .osm to add/edit the required PV-related objects described here. It's quicker than option #1, yet riskier (e.g. OS Object handles). It may take a few tries - hit & miss.

  3. Similar to option #2: hack your generated .idf so it reflects PV-related additions/edits here. Fewer steps than #2, yet reverse translation (from IDF to OSM) would no longer be possible.

Option #1 is definitely safer, reusable. It does require an SDK-environment, and it's definitely a learning curve for beginners. But if you plan to do similar additions/edits in the future, it may be worth the time investment. You can take it a step further: develop a measure (with a few options) and share.

edit flag offensive delete link more

Comments

is it possible in energyplus to transfer electricity from building which has off-grid system to the power grid? how can I define that in energy plus?

sheida's avatar sheida  ( 2023-11-23 13:51:20 -0500 )edit

@sheida, not sure what is meant by an off-grid system that can link to a power grid. See answer to your more recent question.

Denis Bourgeois's avatar Denis Bourgeois  ( 2023-11-27 07:13:27 -0500 )edit
0

answered 2023-10-30 11:35:04 -0500

sheida's avatar

I just assign PV panels according to what you show in the picture in OpenStudio and then export IDF file and then add Battery to it in Energy Plus software.link text is it correct?

edit flag offensive delete link more

Comments

Were you able to run an EnergyPlus simulation? Any errors messages? I can't access the linked file - needs permission.

Denis Bourgeois's avatar Denis Bourgeois  ( 2023-10-31 06:38:23 -0500 )edit

sorry, I make it public now, please let me know if you could have access to it.

sheida's avatar sheida  ( 2023-11-03 20:17:43 -0500 )edit

@sheida, I'm indeed able to access the IDF. However, it holds a number of invalid/missing entries that prevent E+ from running a simulation. These are unrelated to PV/batteries. I stopped bringing in incremental fixes as it gets rather messy with broken plant loop entries. I suggest you first make sure that your initial OpenStudio model can safely run an EnergyPlus simulation (without major errors), BEFORE adding PV/battery entries. And IMO you shouldn't have to rely on the IDF Editor to complete option #3 - a text editor and a few copy/paste steps should do the trick.

Denis Bourgeois's avatar Denis Bourgeois  ( 2023-11-04 07:25:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2023-10-14 23:53:08 -0500

Seen: 307 times

Last updated: Oct 30 '23