Final answer:
Your understanding of Helmholtz and Gibbs free energy seems correct. Helmholtz free energy is the internal energy available for work, and Gibbs free energy is for non-expansion work, with both applying to reversible processes. Irreversible processes have lower actual work done due to inefficiencies and these 'free energies' become maximum work potentials rather than actuals.
Step-by-step explanation:
You seem to have a solid understanding of Helmholtz and Gibbs free energy. For reversible processes, the Helmholtz free energy (A) does indeed represent the total available internal energy that can be converted into work.
You correctly identified that Gibbs free energy (G) is the energy available to do non-expansion work under constant pressure and temperature conditions. This is particularly useful in chemical reactions and phase transitions where the pressure and temperature don't change.
For irreversible processes, the situation is a bit different. The inequalities you've stated, dA ≤ đwtotal and dG ≤ đwnon-expansion, indicate that the actual work done by the system is less than the maximum work predicted by A and G for reversible processes.
The difference is essentially due to the dissipated energy as a result of irreversible processes generating entropy. So for irreversible processes, A does not represent the total available energy for work, because some of the energy is 'lost' to dissipation and cannot be used for work.
Similarly, G represents the maximum non-expansion work that could be done in an ideal, reversible scenario; in reality, less work is obtained due to irreversibilities.
As for Gibbs free energy, it is important to remember that it is not a conserved quantity like internal energy (U) or enthalpy (H), and does not represent the energy content of a system, but rather the potential to perform work.
A negative change in Gibbs free energy (ΔG) indicates a spontaneous process, as the system can do work on the surroundings, whereas a positive ΔG indicates a non-spontaneous process.