-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/battery cell model #91
Feature/battery cell model #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me aside from a few small comments below.
I did run into a bit of trouble when running the example though---I found that, in order to run the example, the file outputs/log_test_client.log had to already exist in the example. I checked, and the same was true for the 02 example, so I don't think it's this PR that's causing the problem. @genevievestarke , have you run into this before? Can one of you confirm that if you delete the outputs/log_test_client.log file, the example does not run for you? If so, I'll open an issue.
EDIT: @genevievestarke and I tracked this issue with outputs/log_test_client.log down, and there is now a bugfix for it in #93
@misi9170 I tried running both example 02 and 06 and they seem to work mostly fine for me. I tried:
Case 1 was the only one that was unusual. When I ran the bash script, it would create the outputs folder then get stuck and not run the simulation. If I ran the bash script a second time, the outputs folder would be populated with the appropriate files. |
Thanks @ZackTully ! That's consistent with what I was getting, exact that for me, it seems that I was getting the same problem you describe for Case 1 when trying Case 3. Anyway, I think that #93 should fix this; we'll hopefully get that one in soon and that should clear the way for this PR to go in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving now, but I think we should wait until #93 goes in before merging
Which bash script are we using for this? The file 'batch_script.sh' seems most complete, but I'm getting odd output from the amr wind standin data part that we might want to look into? It looks like the wind speed in amr_standin_data.csv is just half the time value. |
Nvm, I figured it out, all good! |
It doesn't seem like the battery is being used in this example, or the power outputs aren't being updated. I thought we had some basic signals passed from WHOC in this example? Is this something we need to work out about the communication between the two (Hercules and WHOC)? |
Thanks for catching that! It's a result of updating WHOC/HERCULES communication when the I think that should solve the problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sounds good! I think we can merge this in!
…ter notebook to look at the outputs
This is a more detailed battery model called
LIB
based on the lithium ion cell model in [1.]. TheLIB
model calculates charging/discharging losses due to internal resistance and transient behavior.This PR also includes initial documentation for the battery model #68.
References: