We conduct grand canonical Monte Carlo simulations and a free-energy analysis for a simplified model of a stacked-layer porous coordination polymer to understand the gate phenomenon, which is a structural transition of a host framework induced by the adsorption of guest particles. Our calculations demonstrate that stabilization of the system due to the guest adsorption causes host deformation under thermodynamic equilibrium. We also investigate spontaneous transition behaviors (gate opening and closing under metastable conditions). The structural transition should occur when the required activation energy, which is determined using the free-energy analysis, becomes equal to the system energy fluctuation. To estimate the system energy fluctuation, we construct a kinetic transition model based on the transition state theory. In this model, the system energy fluctuation can be calculated by setting the adsorption time and transition domain size of the host framework. The model demonstrates that a smaller domain size results in a gate-opening transition at lower pressure. Furthermore, we reveal that the slope of the logarithm of the equilibrium structural transition pressure versus reciprocal temperature shows transition enthalpy, and that slopes of the gate-opening and -closing transition pressures versus reciprocal temperature show activation enthalpies.