+ Reply to Thread
Results 1 to 5 of 5

Beginner trying to calculate battery charge and discharge

  1. #1
    Registered User
    Join Date
    12-07-2015
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    6

    Beginner trying to calculate battery charge and discharge

    Hi guys, only posted here a couple of times so sorry for any rule breaking or posting in the wrong areas.
    Basically, every half hour, I have a snapshot of what our wind turbine is producing. It is connected to grid and cannot export more than 250kW. Everything over 250 is getting dumped. I am looking at putting this extra power into batteries to use when the turbine is under 250kW.

    The goal is to see how much it would export without batteries and how much it will export with the batteries added.

    So every time it goes over 250 I have to add how much it is over. (eg if it is at 266 it is 16 over 250 so i need to add 16 to a theoretical battery.) When the turbine is under 250, the 'battery' will discharge to make up the rest to 250kW. Does that make sense? The maximum the battery can hold is 75kW. How do I do this? Just add conditions to each cell? I'm pretty new to conditions etc and not sure where to start. I have added a screenshot to help explain what I am trying to say (i could not upload the file for some reason). I also need to be able to change the turbine to be a 400kW machine and change the size of batteries to calculate the optimal combination

    Thanks and sorry if that was poorly explained

    This is a link to the file, I am unable to upload it here for some reason sorry

    https://www.dropbox.com/s/hkbrtpswxh...orage.xls?dl=0
    Attached Images Attached Images
    Last edited by Janusz McNeill; 04-26-2016 at 11:09 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Beginner trying to calculate battery charge and discharge

    Post a sample file in excel format rather than an image. Images are impossible to edit and nobody wants to recreate the file for you.
    Attach a sample spreadsheet with expected results, remove any sensitive data.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    12-07-2015
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    6

    Re: Beginner trying to calculate battery charge and discharge

    Sorry it would not let me upload the file. I have attached a dropbox link to the file, is that just as annoying? I can remove the post until i get it sorted if that's better, sorry

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Beginner trying to calculate battery charge and discharge

    Welcome to the forum. Providing that I understand the business model correctly, i.e. you can either store or export but not both during a time interval, I think this solution does what you want. I added a table for cumulative charge (AY2:CT377) on the Battery Charging potential sheet, which could be put on a separate sheet, that is populated with the formula:
    Please Login or Register  to view this content.
    The formula to populate the Battery exporting sheet is:
    Please Login or Register  to view this content.
    Notice I also added a column B on this sheet so as to avoid circular reference warnings on the Battery potential sheet. If you want to change the battery capacity and kW production you'll need to decide on a place in the workbook to put those values and then reference them in the formulas.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Beginner trying to calculate battery charge and discharge

    Here is a greatly pared down version of the file from the dropbox link in post #1, hopefully it provides enough information to show how the formulas and table work.
    Let me know if you have any questions.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. a function that describes the charge on a battery
    By IanHammon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-11-2015, 08:39 PM
  2. [SOLVED] How to calculate cost with a minimum charge of 30$
    By pcfriends in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2014, 01:29 AM
  3. [SOLVED] help to find a formula to calculate the delivery charge !
    By rmp123 in forum Excel General
    Replies: 7
    Last Post: 02-22-2014, 09:28 AM
  4. [SOLVED] Using IF function several times referencing a Dropdown to calculate a 'minimum' charge
    By bpiereder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-02-2013, 05:12 PM
  5. Calculate tax excluding labor and trip charge
    By elizabethb in forum Excel General
    Replies: 6
    Last Post: 08-30-2010, 09:21 PM
  6. Tried to get my delivery charge calculate base on the table but failed
    By kevinlau85 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-26-2009, 12:11 AM
  7. calculate charge from weight
    By Nahc in forum Excel General
    Replies: 4
    Last Post: 03-01-2008, 01:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1