Model-Based Systems Engineering (MBSE) is increasingly used across industries for the integrated modelling of complex systems to support model-based development and provide enhanced traceability between requirements and verification and validation of the system. This paper seeks to strengthen the function modelling methodology in MBSE by introducing an approach based on flow heuristics guided by the System State Flow Diagram schema. This provides function representations with an enhanced integrity in MBSE facilitating the solution-agnostic architecture modelling, and supports integrated simulation and function failure reasoning based on MBSE. The approach is illustrated with a case study of an electric bicycle implemented in the MathWorks System Composer environment.