A set of MHD equations that are optimized for specific tokamak conditi
ons is derived and implemented in the new ideal-MHD code MISHKA-1. The
numerical scheme is based on the Galerkin method (which solves the eq
uations in their weak form) and allows the study of problems that are
described by nonself-adjoint Mi-ID operators. Consequently, the MISHKA
-1 code call be improved to describe non-ideal MHD effects including d
rift and neoclassical and other essentially kinetic effects that ale i
mportant for the stability of high temperature plasmas. The new ideal
MHD code described in this paper can be treated as a first step toward
a ''generalized MHD'' code for a set of moment equations for ion and
electron distribution functions in different collisionality plasmas.