-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error writing model to xlsx when flows don't match #244
Comments
This can be addressed with the addition of the final user B matrix, #226. For this reason the current B and B_h will need to have the same index... so there will be zeroes across some rows when this happens, but it will resolve this error. |
The more immediate fix is to take the flows not in B out of flows.csv, until a B_h is created. |
Discovered its not just a matter of presence/absence and order, but because the flow names may have special characters, it appears
|
Though in that case you think this would have been an issue in the past as well? as these PM flows are not new. |
…check before writing due to #244
Some satellite tables can contain flows that are exclusively assigned to households. These flows do not get added to the
B
matrix. However they are written tomodel$SatelliteTables$flows
. As a result writing the flows to csv failsuseeior/R/WriteModel.R
Lines 280 to 283 in 6e6b2a6
The text was updated successfully, but these errors were encountered: