def METHOD_NAME(self, label):
    r"""
    Calculate energy balance of a turbomachine.
    Parameters
    ----------
    label : str
        Label for equation.
    Returns
    -------
    latex : str
        LaTeX code of equations applied.
    """
    latex = (
        r'0=\dot{m}_\mathrm{in}\cdot\left(h_\mathrm{out}-h_\mathrm{in}'
        r'\right)-P')
    return generate_latex_eq(self, latex, label)