Consider a room with air and an electric heater inside. I want to determine what will be the temperature of the air in the room after 1 hour of starting the heater (whose power rating is known). The walls have cracks from which some air can escape. The air remains at a constant pressure.
For this analysis
I can choose the air as the system. So heater, walls, and everything else in the universe constitute surroundings. When the heater is turned on, and heat transfer takes place to the air, it expands and some of it leaves through the cracks. Since air is the system we will need to keep track of it as it leaves the room. Since only energy crosses the boundaries but no mass, this is a closed system.
I can take the volume formed by the inner surfaces of the walls as the system. Both mass and energy cross the boundaries of this system so it is an open system.
In this problem, it will be better to take air as the system, i.e. it will be better to analyze this problem by considering a closed system. This is because the change in enthalpy of the air will be equal to the heat transferred. In analyzing this problem using an open system I will have to take care of the rate at which air leaves the cracks.
As seen in this problem, even though it is difficult to analyze the situation by considering an open system, it is at least possible.
So my question is, does this apply to every analysis? Every problem can be solved by considering an open or a closed system, what matters is which kind of system makes your analysis easier, is it like that?
For instance, can I analyze biological systems by considering them as closed systems?