The question about "max current" values in the latest (C#ROME-B ) firmware versions.
What method of calculation and document is true now?
"new" configh.h (~sep. 2018 in Master branch)
#define BATTERY_CURRENT_MAX_VALUE 150L
#define PHASE_CURRENT_MAX_VALUE 300L
https://opensourceebikefirmware.bitbucket.io/windows_instructions/index4.html
"Battery Current max: maximum battery current in deziAmps. A value of 150 means 15A.
Phase Current max: maximum phase current. Calculation like Battery Current max. The phase current is derived from the formula phase current = battery current / duty cycle internally."
"old" config/h (~aug. 2018)
#define BATTERY_CURRENT_MAX_VALUE 662L
#define PHASE_CURRENT_MAX_VALUE 532L
https://github.com/stancecoke/BMSBattery_S_controllers_firmware
Reamde.md:
"Battery Current max: maximum battery current. Calculation: Value = desired current in ampere multiplied by the value from field Battery Current cal a minus value from field Battery Current cal b. Example with the default values for limiting to 15A: 15A *10 - (-312) = 462
Phase Current max: maximum phase current. Calculation like Battery Current max. The phase current is derived from the formula phase current = battery current / duty cycle internally."
In my case, the values 170/300 (in OSEC GUI ) give a full load power of 1250-1300W on a KT-LCD3 (36V battery). In the case of stock firmware, power was not more than 600-650W. I have 17A KT-SVPR controller from "pswpower".
Flexible OpenSource firmware works excellently on all my geared motors - Bafang SWX02, MXUS XF15R and XF08. Very quiet, there are no unpleasant vibrations and some resonances on the ebike frame (as it was on the stock firmware).
But ... Thumb throttle control... Very accurate and predictable work on the original firmware (and other Chinese controllers), the acceleration is predictable, the response of the thumb throttle is accurate, and it is easy to maintain the selected speed.
Now... I practically cannot use the throttle knob - poorly predicted work, it is difficult to control the chosen speed, "viscous" acceleration.
I only use the throttle knob, and do not use PAS.
This this due to the different types of throttle control? "Speed control mode" in stock, and "electric current" control in flexible firmware?
Small "Safety" issues:
1. Power on controller with thumb throttle at non-zero position - motor start. Dangerous... All other controllers blocked motor in this case
2. Motor start, if voltage on thumb throttle hall sensor > 4.2V (short circuit in throttle cable (betveen +5 and hall signal), or broken hall, and....

) All other controllers blocked motor startup in this case...