Opening a new pull request, as I've rebased the branch and only afterward discovered that that might lead to problems.
The code should be mergeable to the main. To summarize: there are two sets of changes:
There is now a single sales function. This should be the same as the power function, and deviates slightly for transport as E3ME-FTT seems inconsistent.
This fixes a lot of errors in FTT:P. the 2022_baseline_update E3ME-FTT version has a few fixes, and most closely resembles this model version, but they are not aligned still.
Opening a new pull request, as I've rebased the branch and only afterward discovered that that might lead to problems.
The code should be mergeable to the main. To summarize: there are two sets of changes: