Text this: Modeling and optimizing the thermodynamics of a flat plate solar collector in transient mode for economic purposes