Reviewed implementation.
Renamed internal variables to _internal
Revised model.
Renamed partial keyword.

The model has as many equations ans variables.
Revised model.