Hybrid of‑grid energy systems optimal sizing with integrated hydrogen storage based on deterministic balance approach