-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change transformers to no longer be worse than accumulators (#5985)
* First part of limiting transformer throughput - Limits transformer throughput to lower wire - Currently wastes excess power passed through - Intent is to make transformers competitive with accumulators, which make burn impossible * Basic implementation of the idea - Output is limited - Currently, to fix current transformer we backsearch the connection to update all connections - There are almost certainly better ways to do this, don't use this way, this just proves I can do it * Better implementation of the idea - No reverse searches, only two scans - Most of the association work is done at setup - Back-transfer now handled elegantly * Simplify limit to return double * Minor fix to change back * Second minor reversion to previous code * Third minor reversion of changed code * Fix star import
- Loading branch information
1 parent
f08fe57
commit 090137a
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters