Skip to content
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

Better refill amount computation #89

Merged
merged 7 commits into from
Oct 22, 2021
Merged

Better refill amount computation #89

merged 7 commits into from
Oct 22, 2021

Conversation

darosior
Copy link
Member

No description provided.

@darosior darosior requested a review from JSwambo October 20, 2021 10:04
@darosior
Copy link
Member Author

Marking as draft since it is currently incorrect but you can have a first look.

@darosior darosior mentioned this pull request Oct 20, 2021
@darosior
Copy link
Member Author

So actually i think it's fine. I was biased by testing only with the OTC desk example.

@darosior darosior marked this pull request as ready for review October 20, 2021 11:18
@darosior
Copy link
Member Author

Rationale for this is:

  1. I started cleaning it up
  2. I wanted to comment it by giving a rationale for each part, failed to do so
  3. I had Too many allocation failures when starting a simulation #76 in mind
  4. I noticed we were too often discarding a new refill, or at least i believe so

model/simulation.py Outdated Show resolved Hide resolved
Copy link
Member

@JSwambo JSwambo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack 3fc237a

@darosior darosior merged commit aedf88a into master Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants