+ Reply to Thread
Results 1 to 3 of 3

conditionally charge a battery

Hybrid View

  1. #1
    Registered User
    Join Date
    04-04-2023
    Location
    Beziers, France
    MS-Off Ver
    Excel 365
    Posts
    13

    Question conditionally charge a battery

    Hello,

    I'm trying to build a model of a battery (2 MW storage capacity) that charges and discharges according to the values in column B and the production in column C. If B < Spot Avg, production is stored in the battery up to its maximum capacity (2 MW). If B > Spot Avg, production is sold directly without going into storage. Outside production hours (where C = 0), if the spot price is > Spot Sold, the battery capacity is sold at the price in column B at time t, the battery empties at 0 and the cycle starts again when there is production in C.

    I don't know how to reproduce the process of adding battery capacities up to a certain value and then resetting it to 0 when the electricity is sold.
    Could you help me?

    hybrid storage.xlsx

  2. #2
    Banned User!
    Join Date
    05-13-2023
    Location
    Venera
    MS-Off Ver
    2007
    Posts
    79

    Re: conditionally charge a battery

    I understand what you need, please look at the attachment.
    Attached Files Attached Files

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,663

    Re: conditionally charge a battery

    Administrative Note:

    Please include formulae used in your post in addition to providing a workbook (for the benefit of members unable to download attachments).

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Battery Charging/Discharging with Surplus
    By Haiderniaz93 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-15-2023, 02:25 PM
  2. Battery Charging/Discharging with Surplus
    By Haiderniaz93 in forum Hello..Introduce yourself
    Replies: 0
    Last Post: 11-29-2022, 12:25 AM
  3. [SOLVED] Battery Duty Cycle Graph
    By dgdunn in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-11-2021, 01:28 PM
  4. [SOLVED] Creating battery duty cycle diagram in Excel
    By Lekan17 in forum Excel General
    Replies: 6
    Last Post: 11-03-2020, 09:32 AM
  5. Beginner trying to calculate battery charge and discharge
    By Janusz McNeill in forum Excel General
    Replies: 4
    Last Post: 04-27-2016, 07:24 PM
  6. 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
  7. Copy charge code down column until next charge code.
    By Zigmo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2012, 12:58 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